diff options
author | megamage <none@none> | 2009-05-02 13:30:55 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-02 13:30:55 -0500 |
commit | 9f0f239e60e2c7f0b8d36d1984f459102022164e (patch) | |
tree | 45e7629371e903fdd429a1bf449c9c53bf46d9ec /src/game/PointMovementGenerator.cpp | |
parent | 8a05a5b91cf884c87c9ada5b0bd0ab872a3167e0 (diff) | |
parent | f303ee08c5888170ad1509b89413af1e2a321f5c (diff) |
*Merge.
*Also fix build in VC7 and VC8.
--HG--
branch : trunk
Diffstat (limited to 'src/game/PointMovementGenerator.cpp')
-rw-r--r-- | src/game/PointMovementGenerator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp index 084dad7cfa8..0c3758bfc5e 100644 --- a/src/game/PointMovementGenerator.cpp +++ b/src/game/PointMovementGenerator.cpp @@ -53,10 +53,11 @@ bool PointMovementGenerator<T>::Update(T &unit, const uint32 &diff) Traveller<T> traveller(unit); - i_destinationHolder.UpdateTraveller(traveller, diff, false); + i_destinationHolder.UpdateTraveller(traveller, diff); if(i_destinationHolder.HasArrived()) { + unit.clearUnitState(UNIT_STAT_MOVE); arrived = true; return false; } |