From d6a2fe099383413aa275811bfa60d7688d4e30bf Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 26 Nov 2024 18:21:10 +0100 Subject: [PATCH] init polyobj thinker cachable bool otherwise shit will die lol --- src/p_polyobj.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_polyobj.c b/src/p_polyobj.c index f890b0bd0..6f1259677 100644 --- a/src/p_polyobj.c +++ b/src/p_polyobj.c @@ -153,6 +153,9 @@ FUNCINLINE static ATTRINLINE void PolyObj_AddThinker(thinker_t *th) th->next = thinkercap.next; th->prev = &thinkercap; thinkercap.next = th; + + //th->references = 0; + th->cachable = false; // not initialising this made the mobjcache die thx! } static void FreeSideLists(void)