- SW: fixed bad actor parameter in SpawnShell.

cherry pick on master
This commit is contained in:
Christoph Oelckers 2022-10-09 00:12:05 +02:00
parent 0e38d5e52b
commit df9f444d88

View file

@ -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;