Merge pull request #3766 from Pesthuf/JumpFix

Core/Units: Don't send StartTravel with MoveJump. Fixes client display of jumping eff
This commit is contained in:
Machiavelli
2011-11-01 03:51:34 -07:00

View File

@@ -58,7 +58,7 @@ bool PointMovementGenerator<T>::Update(T &unit, const uint32 diff)
arrived = true;
return false;
}
else if (!unit.HasUnitState(UNIT_STAT_MOVE))
else if (!unit.HasUnitState(UNIT_STAT_MOVE) && !unit.HasUnitState(UNIT_STAT_JUMPING))
{
i_destinationHolder.StartTravel(traveller);
}