forked from mirrors/0ad
Fix move speed not correctly reset when chasing a unit
def47cb7ae had an issue where the move speed was not correctly reset
after chasing a unit.
Reported By: Angen
Reviewed By: Angen
Differential Revision: https://code.wildfiregames.com/D1861
This was SVN commit r22275.
This commit is contained in:
@@ -2037,6 +2037,8 @@ UnitAI.prototype.UnitFsmSpec = {
|
||||
},
|
||||
|
||||
"leave": function() {
|
||||
this.ResetMoveSpeed();
|
||||
|
||||
// Show carried resources when walking.
|
||||
this.SetDefaultAnimationVariant();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user