Merge branch 'master' into spectator-little-things

This commit is contained in:
Sally Coolatta 2021-04-07 17:14:09 -04:00
commit 967a85db81
2 changed files with 6 additions and 3 deletions

View file

@ -2476,7 +2476,7 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic
key = I_GetKey(); key = I_GetKey();
// Only ESC and non-keyboard keys abort connection // Only ESC and non-keyboard keys abort connection
if (key == KEY_ESCAPE || key >= KEY_MOUSE1 || cl_mode == CL_ABORTED) if (!modeattacking && (key == KEY_ESCAPE || key >= KEY_MOUSE1 || cl_mode == CL_ABORTED))
{ {
CONS_Printf(M_GetText("Network game synchronization aborted.\n")); CONS_Printf(M_GetText("Network game synchronization aborted.\n"));
D_QuitNetGame(); D_QuitNetGame();

View file

@ -232,7 +232,7 @@ void ST_doPaletteStuff(void)
{ {
st_palette = palette; st_palette = palette;
if (rendermode != render_none) if (rendermode == render_soft)
{ {
//V_SetPaletteLump(GetPalette()); // Reset the palette -- is this needed? //V_SetPaletteLump(GetPalette()); // Reset the palette -- is this needed?
if (!splitscreen) if (!splitscreen)
@ -392,6 +392,9 @@ static inline void ST_Stop(void)
if (st_stopped) if (st_stopped)
return; return;
#ifdef HWRENDER
if (rendermode != render_opengl)
#endif
V_SetPalette(0); V_SetPalette(0);
st_stopped = true; st_stopped = true;