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 committed 2011-11-01 03:51:34 -07:00
commit d3a7ac5d7d
1 file changed
+1 -1
@@ -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);
}