From 14d5e3f75d1b26a3ebb248df69819855fff3c208 Mon Sep 17 00:00:00 2001 From: MIDIMan Date: Tue, 17 Dec 2024 16:26:53 -0500 Subject: [PATCH] Replace tmthing in P_BlockThingsIterator with thing --- src/p_maputl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_maputl.c b/src/p_maputl.c index 313af9514..3e30c5d6e 100644 --- a/src/p_maputl.c +++ b/src/p_maputl.c @@ -1069,7 +1069,7 @@ boolean P_BlockThingsIterator(INT32 x, INT32 y, boolean (*func)(mobj_t *), mobj_ if (!func(block->mobj)) return false; - if (checkthing && P_MobjWasRemoved(tmthing)) // func just popped our tmthing, cannot continue. + if (checkthing && P_MobjWasRemoved(thing)) // func just popped our tmthing, cannot continue. return true; }