Don't use the carrying animation when a unit is ungarrisoned and it dropped of the resources while garrisoning. Patch by zoot. Fixes #1759.
This was SVN commit r13073.
This commit is contained in:
parent
02ac06e293
commit
56db7fa945
@ -2001,7 +2001,10 @@ var UnitFsmSpec = {
|
||||
var dropsiteTypes = cmpResourceDropsite.GetTypes();
|
||||
var cmpResourceGatherer = Engine.QueryInterface(this.entity, IID_ResourceGatherer);
|
||||
if (cmpResourceGatherer)
|
||||
{
|
||||
cmpResourceGatherer.CommitResources(dropsiteTypes);
|
||||
this.SetGathererAnimationOverride();
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user