moved weapon report from bullet/missile to attackbase

This commit is contained in:
Chris Forbes
2009-12-13 12:26:49 +13:00
parent edc954cc8a
commit 42bd51f2b0
5 changed files with 4 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRa.Game
ActorID = Game.world.NextAID();
Info = (UnitInfo)info; // temporary
Location = location;
CenterLocation = new float2( 12, 12 ) + Game.CellSize * (float2)Location;
CenterLocation = Traits.Util.CenterOfCell(Location);
Owner = owner;
Health = Info.Strength; /* todo: handle cases where this is not true! */