From e5825baba057a67353a9fda6ab5da188620d1e55 Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Sun, 9 May 2004 22:31:36 +0000
Subject: [PATCH] Fix for 32bpp tilesets

---
 src/video/video.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/video.cpp b/src/video/video.cpp
index 324f4ae90..772f760a9 100644
--- a/src/video/video.cpp
+++ b/src/video/video.cpp
@@ -437,7 +437,7 @@ global void ColorCycle(void)
 				colors, 0, 256);
 			curlink = curlink->Next;
 		}
-	} else {
+	} else if (TheMap.TileGraphic->Surface->format->BytesPerPixel == 1) {
 		//
 		//  Color cycle tileset palette
 		//