dont count precip towards thinkers in perfstats

This commit is contained in:
Alug committed 2024-09-23 01:03:20 +02:00
1 parent 892816dadf
commit c921ab463c
1 file changed
+3 -1
+3 -1
View File
@@ -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)