diff --git a/src/p_tick.c b/src/p_tick.c index e6fffb417..2a3cf0cc8 100644 --- a/src/p_tick.c +++ b/src/p_tick.c @@ -193,6 +193,8 @@ void P_InitThinkers(void) UINT8 i; for (i = 0; i < NUM_THINKERLISTS; i++) thlist[i].prev = thlist[i].next = &thlist[i]; + + waypointcap = NULL; //Hack transplant } // Adds a new thinker at the end of the list. @@ -328,7 +330,7 @@ static inline void P_RunThinkers(void) for (currentthinker = thlist[i].next; currentthinker != &thlist[i]; currentthinker = currentthinker->next) { #ifdef PARANOIA - I_Assert(currentthinker->function.acp1 != NULL) + I_Assert(currentthinker->function.acp1 != NULL); #endif currentthinker->function.acp1(currentthinker); }