fixes harvester lockup bug

This commit is contained in:
Chris Forbes
2009-12-28 13:23:40 +13:00
parent bf6c30e9ef
commit 650a0c333a

View File

@@ -81,7 +81,7 @@ namespace OpenRa.Game.Traits.Activities
var nextCell = PopPath( self, mobile );
if( nextCell == null )
return NextActivity;
return this;
int2 dir = nextCell.Value - mobile.fromCell;
var firstFacing = Util.GetFacing( dir, unit.Facing );