1
0
forked from 0ad/0ad

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:
leper 2013-01-13 20:55:55 +00:00
parent 02ac06e293
commit 56db7fa945

View File

@ -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;