ref: 8040eba4c0f8a0996eb6487104646a0e5b261ee7
parent: feae49cdcda458fe18ae2df5aa783c4e9091e1f1
author: Simon Howard <[email protected]>
date: Sat Sep 9 11:49:39 EDT 2006
Remove hack accidentally committed that always updates the palette Subversion-branch: /trunk/chocolate-doom Subversion-revision: 598
--- 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 @@
// 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;