From df9f444d883654adbb9a0d2161edfdfbe3160ae7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 9 Oct 2022 00:12:05 +0200 Subject: [PATCH] - SW: fixed bad actor parameter in SpawnShell. cherry pick on master --- source/games/sw/src/jweapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/sw/src/jweapon.cpp b/source/games/sw/src/jweapon.cpp index 4f9eb1b30..f9ba21caa 100644 --- a/source/games/sw/src/jweapon.cpp +++ b/source/games/sw/src/jweapon.cpp @@ -2249,7 +2249,7 @@ int SpawnShell(DSWActor* actor, int ShellNum) actorNew->user.jump_speed += RandomRange(400); actorNew->user.jump_speed = -actorNew->user.jump_speed; - DoBeginJump(actor); + DoBeginJump(actorNew); actorNew->user.jump_grav = ACTOR_GRAVITY; return 0;