diff options
author | megamage <none@none> | 2008-10-22 09:41:31 -0500 |
---|---|---|
committer | megamage <none@none> | 2008-10-22 09:41:31 -0500 |
commit | 2a742e78b91c8747088c28259a0aa1a46fc57ed5 (patch) | |
tree | 8cc3b5767222df3a6a98dda62575709da12a3c49 /src/game/WaypointMovementGenerator.cpp | |
parent | 1b0baa51b59df113f3fc2200fc76ddc1f6a91ada (diff) |
[svn] Fix a bug that shaman's shield can stack.
Fix: MovementInform without behavior change for waypoint movement. Patch provided by DragonHunter.
Update gruul lair script. Patch provided by Blaymoira.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r-- | src/game/WaypointMovementGenerator.cpp | 5 |
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() |