summaryrefslogtreecommitdiff
path: root/src/i_video.c
diff options
context:
space:
mode:
authorSimon Howard2006-09-09 15:49:39 +0000
committerSimon Howard2006-09-09 15:49:39 +0000
commit8040eba4c0f8a0996eb6487104646a0e5b261ee7 (patch)
tree2cf0ae50d1b1e00165d6a7bc7989dd31b5e9faaf /src/i_video.c
parentfeae49cdcda458fe18ae2df5aa783c4e9091e1f1 (diff)
downloadchocolate-doom-8040eba4c0f8a0996eb6487104646a0e5b261ee7.tar.gz
chocolate-doom-8040eba4c0f8a0996eb6487104646a0e5b261ee7.tar.bz2
chocolate-doom-8040eba4c0f8a0996eb6487104646a0e5b261ee7.zip
Remove hack accidentally committed that always updates the palette
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 598
Diffstat (limited to 'src/i_video.c')
-rw-r--r--src/i_video.c6
1 files 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 <SDL.h>
#include <ctype.h>
@@ -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;