From 8662648ef5ff4ad7a42df7eb5e429641447788eb Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 26 Nov 2024 22:31:58 +0100 Subject: [PATCH] init polyobject thinker->references to 0 otherwise they wont get removed alot of the time --- src/p_polyobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_polyobj.c b/src/p_polyobj.c index 6f1259677..ffc6651b8 100644 --- a/src/p_polyobj.c +++ b/src/p_polyobj.c @@ -154,7 +154,7 @@ FUNCINLINE static ATTRINLINE void PolyObj_AddThinker(thinker_t *th) th->prev = &thinkercap; thinkercap.next = th; - //th->references = 0; + th->references = 0; th->cachable = false; // not initialising this made the mobjcache die thx! }