From b9aa5de2170e49e45acf24fc24c7690e9ff79090 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 1 Nov 2020 10:52:38 +0100 Subject: [PATCH] - fixed merge error in handle_se00. --- 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 775ede912..2c38e37d0 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -2771,7 +2771,7 @@ void handle_se00(DDukeActor* actor, int LASERLINE) DukeSectIterator itp(s->sectnum); while (auto ap = itp.Next()) { - auto sprp = &sprite[p]; + auto sprp = &ap->s; if (sprp->statnum != 3 && sprp->statnum != 4) if (LASERLINE < 0 || sprp->picnum != LASERLINE) {