From 60263ccad98ba322d1088588287aa80d7238bd47 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 4 Nov 2020 21:53:56 +0100 Subject: [PATCH] - fixed destroyit. This caused parts of the exploding house in RRRA E1L5 not to disappear. --- source/games/duke/src/actors_r.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/actors_r.cpp b/source/games/duke/src/actors_r.cpp index 22cef085b..af561f221 100644 --- a/source/games/duke/src/actors_r.cpp +++ b/source/games/duke/src/actors_r.cpp @@ -4213,7 +4213,7 @@ void destroyit(DDukeActor *actor) } } it1.Reset(actor->s.sectnum); - while (auto a2 = it.Next()) + while (auto a2 = it1.Next()) { switch (a2->s.picnum) {