Let parachute cargo render themselves.
This allows for tanks and other multi-sprite actors to render correctly while dropping.
This commit is contained in:
@@ -55,11 +55,9 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
var aircraft = self.Trait<IMove>();
|
||||
self.World.AddFrameEndTask(w => w.Add(
|
||||
new Parachute(
|
||||
self.Owner,
|
||||
new Parachute(a,
|
||||
Util.CenterOfCell(self.CenterLocation.ToCPos()),
|
||||
aircraft.Altitude, a
|
||||
)
|
||||
aircraft.Altitude)
|
||||
));
|
||||
|
||||
Sound.Play(info.ChuteSound, self.CenterLocation);
|
||||
|
||||
Reference in New Issue
Block a user