*Also fix build in VC7 and VC8.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-02 13:30:55 -05:00
commit 9f0f239e60
23 files changed
+808 -749

No files matched your search

+2 -1
View File
@@ -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;
}