]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
Rework game specific hacks to have a special group for Nexuiz-derived games.
[xonotic/darkplaces.git] / cl_screen.c
index 2867607d88da1157118e3afd2f2012b13815d6cf..4b6100f835a6ddc4c4253dad5c9a67ee298cabf4 100644 (file)
@@ -2770,7 +2770,7 @@ void CL_UpdateScreen(void)
 
        loadingscreendone = false;
 
-       if(gamemode == GAME_NEXUIZ || gamemode == GAME_XONOTIC)
+       if(IS_NEXUIZ_DERIVED(gamemode))
        {
                // play a bit with the palette (experimental)
                palette_rgb_pantscolormap[15][0] = (unsigned char) (128 + 127 * sin(cl.time / exp(1.0f) + 0.0f*M_PI/3.0f));