diff options
Diffstat (limited to 'src/game/base/patrol.cc')
-rw-r--r-- | src/game/base/patrol.cc | 2 |
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()); |