Fix z-offset for muzzle flashes. Fixes #3667.
This commit is contained in:
@@ -58,7 +58,8 @@ namespace OpenRA.Mods.RA.Render
|
|||||||
anims.Add(barrel,
|
anims.Add(barrel,
|
||||||
new AnimationWithOffset(muzzleFlash,
|
new AnimationWithOffset(muzzleFlash,
|
||||||
() => arm.MuzzleOffset(self, barrel),
|
() => arm.MuzzleOffset(self, barrel),
|
||||||
() => !visible[barrel]));
|
() => !visible[barrel],
|
||||||
|
p => WithTurret.ZOffsetFromCenter(self, p, 2)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user