Snap Parachute to centre of cell.

This commit is contained in:
Matthew Bowra-Dean
2010-03-19 18:44:49 +13:00
parent 4882af8ad0
commit 6b95c09249

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Mods.RA
self.World.AddFrameEndTask(w => w.Add(
new Parachute(self.Owner, rs.anim.Name,
self.CenterLocation,
Util.CenterOfCell((1 / 24f * self.CenterLocation).ToInt2()),
self.traits.Get<Unit>().Altitude, a)));
Sound.Play("chute1.aud");