make ticcmds on gamestateresend

resynch will still stop making em
should hopefully fix some weird issues where you might end up somewhere weird if the resend takes a little longer
This commit is contained in:
Alug committed 2024-09-17 16:47:34 +02:00
1 parent 8580451bce
commit ff0dcafeea
1 file changed
+1 -5
+1 -5
View File
@@ -1197,11 +1197,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
// why build a ticcmd if we're paused?
// Or, for that matter, if we're being reborn.
// Kart, don't build a ticcmd if someone is resynching or the server is stopped too so we don't fly off course in bad conditions
if (paused || P_AutoPause() || (gamestate == GS_LEVEL && player->playerstate == PST_REBORN) || hu_resynching
#ifdef SATURNSYNCH
|| hu_redownloadinggamestate
#endif
)
if (paused || P_AutoPause() || (gamestate == GS_LEVEL && player->playerstate == PST_REBORN) || hu_resynching)
{
cmd->angleturn = (INT16)(lang >> 16);
cmd->aiming = G_ClipAimingPitch(&laim);