init polyobject thinker->references to 0
otherwise they wont get removed alot of the time
This commit is contained in:
1 parent
f973e6cd72
commit
8662648ef5
1 file changed
+1
-1
+1
-1
@@ -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!
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user