From c7a9c7dc927d60df77fe7824ed03f29bd1b29067 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 3 May 2011 20:48:53 +0000 Subject: [PATCH] (svn r22418) -Fix (r22417): Messed up the palette detection of the extra base grf. --- src/gfxinit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index 404f0a94fb..a90235b145 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -183,7 +183,7 @@ static void LoadSpriteTables() * setting one, use the palette of the base set and not the global * one which might be the wrong palette for this base NewGRF. * The value set here might be overridden via action14 later. */ - switch (_use_palette) { + switch (used_set->palette) { case PAL_DOS: master->palette |= GRFP_GRF_DOS; break; case PAL_WINDOWS: master->palette |= GRFP_GRF_WINDOWS; break; default: break;