]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
Adding GAME_XONOTIC and recognizing xonotic executable names
[xonotic/darkplaces.git] / cl_screen.c
index 9b0a0c144548602f5366a8eb80aa3ea4ea99c9c4..3236056d73eb89402f59bd718e82aabae6dcada1 100644 (file)
@@ -2077,7 +2077,7 @@ void CL_UpdateScreen(void)
        if (!scr_initialized || !con_initialized || !scr_refresh.integer)
                return;                         // not initialized yet
 
-       if(gamemode == GAME_NEXUIZ)
+       if(gamemode == GAME_NEXUIZ || gamemode == GAME_XONOTIC)
        {
                // 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));