summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-07-31 09:40:43 +0000
committerrubidium <rubidium@openttd.org>2010-07-31 09:40:43 +0000
commite469a94a2df943c5595e91b2752782cfa4b2ff3f (patch)
treefac840c8181287080cea264e90915aa361596f88 /src/gfxinit.cpp
parentf7794e313f993bbb8394bfc6c27f6cd00fc534a0 (diff)
downloadopenttd-e469a94a2df943c5595e91b2752782cfa4b2ff3f.tar.xz
(svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 42043299f..1bb99f38a 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -180,7 +180,7 @@ static void LoadSpriteTables()
GRFConfig *top = _grfconfig;
GRFConfig *master = new GRFConfig(used_set->files[GFT_EXTRA].filename);
FillGRFDetails(master, false);
- master->windows_paletted = (used_set->palette == PAL_WINDOWS);
+ master->palette = (used_set->palette == PAL_WINDOWS) ? GRFP_USE_WINDOWS : GRFP_USE_DOS;
ClrBit(master->flags, GCF_INIT_ONLY);
master->next = top;
_grfconfig = master;