aboutsummaryrefslogtreecommitdiff
path: root/src/game/WaypointMovementGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r--src/game/WaypointMovementGenerator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp
index f03f3611e43..cd612295620 100644
--- a/src/game/WaypointMovementGenerator.cpp
+++ b/src/game/WaypointMovementGenerator.cpp
@@ -165,10 +165,9 @@ WaypointMovementGenerator<Creature>::Update(Creature &creature, const uint32 &di
else
creature.Say(behavior->text[0].c_str(), 0, 0);
}
-
- i_hasDone[idx] = true;
- MovementInform(creature);
} // wpBehaviour found
+ i_hasDone[idx] = true;
+ MovementInform(creature);
} // HasDone == false
} // i_creature.IsStopped()