fix invisible crates in cnc (where did that patch go?)

This commit is contained in:
Chris Forbes
2010-10-14 19:15:37 +13:00
parent f39b4f0750
commit 9befe377d5

View File

@@ -48,7 +48,10 @@ namespace OpenRA.Mods.RA
{
this.self = init.self;
if (init.Contains<LocationInit>())
this.Location = init.Get<LocationInit,int2>();
{
this.Location = init.Get<LocationInit, int2>();
PxPosition = Util.CenterOfCell(Location);
}
this.Info = info;