From 8040eba4c0f8a0996eb6487104646a0e5b261ee7 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 9 Sep 2006 15:49:39 +0000 Subject: Remove hack accidentally committed that always updates the palette Subversion-branch: /trunk/chocolate-doom Subversion-revision: 598 --- src/i_video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i_video.c b/src/i_video.c index a6d30982..c2e33058 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_video.c 538 2006-05-29 13:25:38Z fraggle $ +// $Id: i_video.c 598 2006-09-09 15:49:39Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -175,7 +175,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_video.c 538 2006-05-29 13:25:38Z fraggle $"; +rcsid[] = "$Id: i_video.c 598 2006-09-09 15:49:39Z fraggle $"; #include #include @@ -937,7 +937,7 @@ void I_FinishUpdate (void) // If we have a palette to set, the act of setting the palette // updates the screen - if (palette_to_set ||true) + if (palette_to_set) { SDL_SetColors(screen, palette, 0, 256); palette_to_set = 0; -- cgit v1.2.3