TA start weirdness mk69

This commit is contained in:
Antonio Martinez 2025-09-13 02:57:11 -04:00
parent 3f6f93ef7b
commit 4723a17bca
2 changed files with 12 additions and 1 deletions

View file

@ -10032,7 +10032,9 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
} }
*/ */
starttime = leveltime; if (starttime > leveltime)
starttime = leveltime;
G_SetDemoAttackTiming(leveltime); G_SetDemoAttackTiming(leveltime);
Music_Stop("position"); Music_Stop("position");

View file

@ -8961,6 +8961,15 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
I_Error("Playing binary maps is disabled; please convert to UDMF TEXTMAP and rebuild nodes."); I_Error("Playing binary maps is disabled; please convert to UDMF TEXTMAP and rebuild nodes.");
} }
if (!netgame)
{
// There is literally no reason to preserve ticcmds from a previous map
// offline, even and especially if mindelay is involved.
// Stop
D_ResetTiccmds();
memset(netcmds, 0, sizeof(netcmds)); // This is somehow actually necessary.
}
if (!fromnetsave) if (!fromnetsave)
{ {
INT32 buf = gametic % BACKUPTICS; INT32 buf = gametic % BACKUPTICS;