Snap Parachute to centre of cell.
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
self.World.AddFrameEndTask(w => w.Add(
|
self.World.AddFrameEndTask(w => w.Add(
|
||||||
new Parachute(self.Owner, rs.anim.Name,
|
new Parachute(self.Owner, rs.anim.Name,
|
||||||
self.CenterLocation,
|
Util.CenterOfCell((1 / 24f * self.CenterLocation).ToInt2()),
|
||||||
self.traits.Get<Unit>().Altitude, a)));
|
self.traits.Get<Unit>().Altitude, a)));
|
||||||
|
|
||||||
Sound.Play("chute1.aud");
|
Sound.Play("chute1.aud");
|
||||||
|
|||||||
Reference in New Issue
Block a user