squash warning

This commit is contained in:
Chris Forbes
2010-07-26 17:40:36 +12:00
parent 102f1dd858
commit e30e97037f

View File

@@ -28,19 +28,19 @@ namespace OpenRA.Mods.RA
// Disable cargo support until someone fixes it
return null;
if (mi.Button != MouseButton.Right)
return null;
//if (mi.Button != MouseButton.Right)
// return null;
if (underCursor == null || underCursor.Owner != self.Owner)
return null;
//if (underCursor == null || underCursor.Owner != self.Owner)
// return null;
var cargo = underCursor.traits.GetOrDefault<Cargo>();
if (cargo == null)
return null;
//var cargo = underCursor.traits.GetOrDefault<Cargo>();
//if (cargo == null)
// return null;
// Todo: Check if we can enter the transport
//// Todo: Check if we can enter the transport
return new Order("EnterTransport", self, underCursor);
//return new Order("EnterTransport", self, underCursor);
}
bool CanEnter(Actor self, Actor a)