diff --git a/src/d_clisrv.c b/src/d_clisrv.c index f4029ee0..9a3652cc 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -2468,7 +2468,7 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic key = I_GetKey(); // 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")); D_QuitNetGame(); diff --git a/src/st_stuff.c b/src/st_stuff.c index 9d726998..33394a81 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -232,7 +232,7 @@ void ST_doPaletteStuff(void) { st_palette = palette; - if (rendermode != render_none) + if (rendermode == render_soft) { //V_SetPaletteLump(GetPalette()); // Reset the palette -- is this needed? if (!splitscreen) @@ -392,7 +392,10 @@ static inline void ST_Stop(void) if (st_stopped) return; - V_SetPalette(0); +#ifdef HWRENDER + if (rendermode != render_opengl) +#endif + V_SetPalette(0); st_stopped = true; }