From 592886fb4b080371289812ae1b5c367fe5721e1b Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 1 Jul 2025 21:55:37 +0200 Subject: [PATCH] a --- src/lua_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_script.c b/src/lua_script.c index 2b97f3372..041930f17 100644 --- a/src/lua_script.c +++ b/src/lua_script.c @@ -1304,7 +1304,7 @@ void LUA_UnArchive(savebuffer_t *save, boolean network) mobjnum = READUINT32(save->p); // read a mobjnum for (th = thinkercap.next; th != &thinkercap; th = th->next) { - if (th->function.acp1 != (actionf_p1)P_MobjThinker) + if (th->function != (actionf_p1)P_MobjThinker) continue; if (((mobj_t *)th)->mobjnum == mobjnum) // find matching mobj