forked from 0ad/0ad
Ensure units don't move while gathering. fixes #835
This was SVN commit r9501.
This commit is contained in:
parent
b96a3f74c2
commit
8a434aae1b
@ -671,6 +671,7 @@ var UnitFsmSpec = {
|
||||
// off to a different target.)
|
||||
if (this.CheckTargetRange(this.order.data.target, IID_ResourceGatherer))
|
||||
{
|
||||
this.StopMoving();
|
||||
var typename = "gather_" + this.order.data.type.specific;
|
||||
this.SelectAnimation(typename, false, 1.0, typename);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user