]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
oops, that should not have gone in there
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Jan 2008 22:19:13 +0000 (22:19 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Jan 2008 22:19:13 +0000 (22:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8055 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 3074054af0686b8340d51a92a2ad26aca12a6c16..cdda9cd69090bf267ecdd1022c6c771b4ec67954 100644 (file)
@@ -2110,16 +2110,6 @@ void CL_UpdateScreen(void)
        double rendertime1;
        float conwidth, conheight;
 
-       // play a bit with the palette
-       palette_rgb_pantscolormap[15][0] = 128 + 127 * sin(cl.time / exp(1) + 0*M_PI/3);
-       palette_rgb_pantscolormap[15][1] = 128 + 127 * sin(cl.time / exp(1) + 2*M_PI/3);
-       palette_rgb_pantscolormap[15][2] = 128 + 127 * sin(cl.time / exp(1) + 4*M_PI/3);
-       palette_rgb_shirtcolormap[15][0] = 128 + 127 * sin(cl.time /  M_PI  + 5*M_PI/3);
-       palette_rgb_shirtcolormap[15][1] = 128 + 127 * sin(cl.time /  M_PI  + 3*M_PI/3);
-       palette_rgb_shirtcolormap[15][2] = 128 + 127 * sin(cl.time /  M_PI  + 1*M_PI/3);
-       memcpy(palette_rgb_pantsscoreboard[15], palette_rgb_pantscolormap[15], sizeof(*palette_rgb_pantscolormap));
-       memcpy(palette_rgb_shirtscoreboard[15], palette_rgb_shirtcolormap[15], sizeof(*palette_rgb_shirtcolormap));
-
        if (vid_hidden || !scr_refresh.integer)
                return;