summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-03 20:48:53 +0000
committerfrosch <frosch@openttd.org>2011-05-03 20:48:53 +0000
commitc7a9c7dc927d60df77fe7824ed03f29bd1b29067 (patch)
tree941dbaa86d06abc6b12d2ba842dfb8aac3c5655f /src
parentbfd09004fe040c16b679637f0c2b0f6354438d9b (diff)
downloadopenttd-c7a9c7dc927d60df77fe7824ed03f29bd1b29067.tar.xz
(svn r22418) -Fix (r22417): Messed up the palette detection of the extra base grf.
Diffstat (limited to 'src')
-rw-r--r--src/gfxinit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 404f0a94f..a90235b14 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;