Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/patrol.cc')
-rw-r--r--src/game/base/patrol.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/base/patrol.cc b/src/game/base/patrol.cc
index 48f687e..4ad16df 100644
--- a/src/game/base/patrol.cc
+++ b/src/game/base/patrol.cc
@@ -347,6 +347,8 @@ void Patrol::frame(const unsigned long elapsed)
} else if ((patrol_leader->state() == core::Entity::Normal) || (patrol_leader->state() == core::Entity::ImpulseInitiate) || (patrol_leader->state() == core::Entity::Impulse)) {
+ patrol_launch_timeout = 0;
+
if (waypoint()->target()->zone() == patrol_leader->zone()) {
patrol_leader->set_autopilot_target(waypoint()->target());