moving Actor.Location onto the appropriate traits (bob)

This commit is contained in:
Chris Forbes
2010-06-19 14:37:06 +12:00
parent db465e1fdd
commit 66adbee2a6
25 changed files with 218 additions and 103 deletions

View File

@@ -71,7 +71,6 @@ namespace OpenRA.Mods.RA.Effects
cargo.traits.Get<Mobile>().TeleportTo(cargo, loc);
else
{
cargo.Location = loc;
cargo.CenterLocation = Traits.Util.CenterOfCell(loc);
if (cargo.traits.Contains<IOccupySpace>())