From c8e8911ef676f503ac5789d3fefac1278cdef971 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 2 Sep 2008 15:20:38 +0000 Subject: (svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites. --- src/main_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main_gui.cpp') diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 5417166ed..bdd4a3daf 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -386,7 +386,7 @@ void ShowSelectGameWindow(); void SetupColorsAndInitialWindow() { for (uint i = 0; i != 16; i++) { - const byte *b = GetNonSprite(PALETTE_RECOLOR_START + i); + const byte *b = GetNonSprite(PALETTE_RECOLOR_START + i, ST_RECOLOUR); assert(b); memcpy(_colour_gradient[i], b + 0xC6, sizeof(_colour_gradient[i])); -- cgit v1.2.3-54-g00ecf