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:
@@ -58,7 +58,7 @@ bool PointMovementGenerator<T>::Update(T &unit, const uint32 diff)
|
|||||||
arrived = true;
|
arrived = true;
|
||||||
return false;
|
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);
|
i_destinationHolder.StartTravel(traveller);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user