From a46792e519f8d6a78cf49f81dfd13f60a7d7c118 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 26 Feb 2021 13:14:44 +0100 Subject: [PATCH] - fixed SE21 handler. This one is most prominently noticeable in WW2GI's first map where blowing up a crack has no effect. This must have happened when removing all those dangerous pointer to long casts that were so popular back in the bad old days. Fixes #266 --- source/games/duke/src/actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index 145f29d99..a1c737886 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -4349,7 +4349,7 @@ void handle_se21(DDukeActor* actor) if (sc->extra == 0) { - lp += s->zvel; + *lp += s->zvel; if (abs(*lp - s->z) < 1024) {