fix harv bug in c&c

This commit is contained in:
Bob
2010-10-24 12:27:17 +13:00
committed by Chris Forbes
parent 2f0b7566e5
commit 46c3bc09a1

View File

@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Cnc
{
int2 startDock = harv.Trait<IHasLocation>().PxPosition;
int2 endDock = self.Trait<IHasLocation>().PxPosition + new int2(-15,8);
var mobile = self.Trait<Mobile>();
var mobile = harv.Trait<Mobile>();
var harvester = harv.Trait<Harvester>();
harv.QueueActivity( new Turn(112) );