mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
TA start weirdness mk69
This commit is contained in:
parent
3f6f93ef7b
commit
4723a17bca
2 changed files with 12 additions and 1 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue