diff --git a/src/m_perfstats.c b/src/m_perfstats.c index a8f9550f4..52944faf2 100644 --- a/src/m_perfstats.c +++ b/src/m_perfstats.c @@ -573,7 +573,9 @@ static void PS_CountThinkers(void) ps_removecount.value.i = 0; for (thinker = thinkercap.next; thinker != &thinkercap; thinker = thinker->next) { - ps_thinkercount.value.i++; + if (thinker->function.acp1 != (actionf_p1)P_NullPrecipThinker) + ps_thinkercount.value.i++; + if (thinker->function.acp1 == (actionf_p1)P_RemoveThinkerDelayed) ps_removecount.value.i++; else if (thinker->function.acp1 == (actionf_p1)P_MobjThinker)