From 94df7e30439a9781f6bde3dbcbebbf4ae496c053 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Sun, 27 Jun 2004 11:48:58 +0000 Subject: [PATCH] Fixed compile error --- src/ui/icons.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/icons.cpp b/src/ui/icons.cpp index bfcfa9668..74f8cbf03 100644 --- a/src/ui/icons.cpp +++ b/src/ui/icons.cpp @@ -142,7 +142,9 @@ static void AddIcon(const char* ident, const char* tileset, icon->Height = height; icon->Sprite = NULL; +#ifdef USE_OPENGL icon->PlayerColorSprite = NULL; +#endif *(Icon**)hash_add(IconHash, str) = icon; free(str);