mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-30 11:42:48 +00:00
Merge branch 'clear-attack-inputs' into 'master'
TA start weirdness mk69 See merge request kart-krew-dev/ring-racers-internal!2821
This commit is contained in:
commit
c8f2a069ae
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);
|
||||
|
||||
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.");
|
||||
}
|
||||
|
||||
if (!(netgame || demo.playback))
|
||||
{
|
||||
// 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)
|
||||
{
|
||||
INT32 buf = gametic % BACKUPTICS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue