diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 447ff6887..d4e8aac2d 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -2722,7 +2722,7 @@ void G_DisplayRest(int32_t smoothratio) if (g_restorePalette < 2 || omovethingscnt+1 == g_moveThingsCount) { // g_restorePalette < 0: reset tinting, too (e.g. when loading new game) - P_SetGamePalette(pp,pp->palette, 2 /*+ (g_restorePalette>0)*16*/); + P_SetGamePalette(pp,pp->palette, 2 + (g_restorePalette>0)*16); g_restorePalette = 0; } else diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 304026bc0..4d874959a 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -4456,7 +4456,7 @@ nullquote: case CON_SETGAMEPALETTE: insptr++; - P_SetGamePalette(g_player[vm.g_p].ps, Gv_GetVarX(*(insptr++)),0/*16*/); // XXX: see engine.c:setbrightness + P_SetGamePalette(g_player[vm.g_p].ps, Gv_GetVarX(*(insptr++)), 2+16); continue; case CON_GETTEXTURECEILING: