*Fix the bug that player turn to wrong direction after charge.
--HG-- branch : trunk
This commit is contained in:
1 parent
7fe257a073
commit
078f556640
1 file changed
+1
-1
@@ -57,7 +57,7 @@ bool PointMovementGenerator<T>::Update(T &unit, const uint32 &diff)
|
||||
|
||||
if(i_destinationHolder.HasArrived())
|
||||
{
|
||||
unit.StopMoving();
|
||||
//unit.StopMoving();
|
||||
if(!unit.hasUnitState(UNIT_STAT_CHARGING))
|
||||
MovementInform(unit);
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user