Convert Corpse to world coordinates.

This commit is contained in:
Paul Chote
2013-05-16 01:08:07 +12:00
parent 3e1c1096c2
commit 4d8dd2db7d
2 changed files with 11 additions and 11 deletions

View File

@@ -132,7 +132,7 @@ namespace OpenRA.Mods.RA.Render
self.World.AddFrameEndTask(w =>
{
if (!self.Destroyed)
w.Add(new Corpse(w, self.CenterLocation.ToFloat2(), GetImage(self),
w.Add(new Corpse(w, self.CenterPosition, GetImage(self),
sequence, Info.PlayerPalette+self.Owner.InternalName));
});
}