init polyobj thinker cachable bool

otherwise shit will die lol
This commit is contained in:
Alug committed 2024-11-26 18:21:10 +01:00
1 parent 5ceb4d9be6
commit d6a2fe0993
1 file changed
+3
+3
View File
@@ -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)