Merge pull request #11028 from pchote/fix-parachutes-again
Fix parachutes in non-heightmapped mods.
This commit is contained in:
@@ -56,7 +56,8 @@ namespace OpenRA.Mods.Common.Activities
|
|||||||
|
|
||||||
Activity LastTick(Actor self)
|
Activity LastTick(Actor self)
|
||||||
{
|
{
|
||||||
pos.SetPosition(self, currentPosition);
|
var dat = self.World.Map.DistanceAboveTerrain(currentPosition);
|
||||||
|
pos.SetPosition(self, currentPosition - new WVec(WDist.Zero, WDist.Zero, dat));
|
||||||
|
|
||||||
if (um != null)
|
if (um != null)
|
||||||
foreach (var u in para.ParachuteUpgrade)
|
foreach (var u in para.ParachuteUpgrade)
|
||||||
|
|||||||
Reference in New Issue
Block a user