From 775c4a3b51f8b957f1b48b7a801a94f5399f5fce Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 7 Sep 2020 21:00:27 +0200 Subject: [PATCH] - fixed explosions in World Tour. A classic result of trying to add new stuff to Duke's spaghetti code, shit like this would not happen if this code wasn't this poorly structured. Fixes #360 and most of #357 --- source/games/duke/src/actors_d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/actors_d.cpp b/source/games/duke/src/actors_d.cpp index 981670e95..5c11e588e 100644 --- a/source/games/duke/src/actors_d.cpp +++ b/source/games/duke/src/actors_d.cpp @@ -473,7 +473,7 @@ SKIPWALLCHECK: hittype[j].picnum = FLAMETHROWERFLAME; } - if (s->picnum != SHRINKSPARK && (!isWorldTour() && s->picnum != LAVAPOOL)) + if (s->picnum != SHRINKSPARK && (!isWorldTour() || s->picnum != LAVAPOOL)) { if (d < r / 3) {