From 9c164ad2909f54931e33a39b2e88d4b4ae08ee46 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 8 Apr 2023 07:14:07 +0200 Subject: [PATCH] - fixed crash when stomping shrunk enemies. --- source/games/duke/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/player.cpp b/source/games/duke/src/player.cpp index 453ba1f1a..feb5925af 100644 --- a/source/games/duke/src/player.cpp +++ b/source/games/duke/src/player.cpp @@ -406,8 +406,8 @@ void dokneeattack(int snum) } else if (badguy(p->actorsqu)) { - p->actorsqu->Destroy(); addkill(p->actorsqu); + p->actorsqu->Destroy(); } else p->actorsqu->Destroy(); }