reset this in P_InitThinkers

This commit is contained in:
Alug committed 2024-07-28 16:08:46 +02:00
1 parent 2410bbfe4c
commit efaded5016
3 files changed
+3 -4

No files matched your search

-1
View File
@@ -2730,7 +2730,6 @@ static void P_NetUnArchiveThinkers(void)
}
// we don't want the removed mobjs to come back
iquetail = iquehead = 0;
P_InitThinkers();
// clear sector thinker pointers so they don't point to non-existant thinkers for all of eternity
-3
View File
@@ -3051,9 +3051,6 @@ boolean P_SetupLevel(boolean skipprecip, boolean reloadinggamestate)
displayplayers[0] = consoleplayer; // Start with your OWN view, please!
}
// clear special respawning que
iquehead = iquetail = 0;
P_MapEnd();
// Remove the loading shit from the screen
+3
View File
@@ -195,6 +195,9 @@ void Command_CountMobjs_f(void)
void P_InitThinkers(void)
{
thinkercap.prev = thinkercap.next = &thinkercap;
iquehead = iquetail = 0;
waypointcap = NULL;
}