From c1a86e9a4d7eac313b78cdf76b220f55b709650e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 23 Dec 2018 12:13:53 +0100 Subject: [PATCH] - fixed bad attempt at restoring position in A_CustomBulletAttack. --- wadsrc/static/zscript/actor_attacks.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/wadsrc/static/zscript/actor_attacks.txt b/wadsrc/static/zscript/actor_attacks.txt index 0c9c41785..52656967e 100644 --- a/wadsrc/static/zscript/actor_attacks.txt +++ b/wadsrc/static/zscript/actor_attacks.txt @@ -95,6 +95,7 @@ extend class Actor double x = Spawnofs_xy * cos(pangle); double y = Spawnofs_xy * sin(pangle); + let pos = self.pos; SetXYZ(Vec3Offset(x, y, 0.)); let proj = SpawnMissileAngleZSpeed(Pos.Z + GetBobOffset() + Spawnheight, missile, self.Angle, 0, GetDefaultByType(missile).Speed, self, false); SetXYZ(pos);