summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-04-02 16:02:22 +0000
committerfrosch <frosch@openttd.org>2016-04-02 16:02:22 +0000
commitebee9fa418808d196fbc4dcf4b6df39148f9e982 (patch)
treeda3b6eea816598c4610335fb86348294e91459ca /src
parent5931616e7150e1713b13a3837eca2985cec17870 (diff)
downloadopenttd-ebee9fa418808d196fbc4dcf4b6df39148f9e982.tar.xz
(svn r27534) -Fix [FS#6435]: [NewGRF] Station spritelayouts did not accept the var10 flag for the palette.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_commons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index 4202c18db..5721b7eb2 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -49,7 +49,7 @@ enum TileLayoutFlags {
TLF_SPRITE_VAR10 = 0x40, ///< Resolve sprite with a specific value in variable 10.
TLF_PALETTE_VAR10 = 0x80, ///< Resolve palette with a specific value in variable 10.
- TLF_KNOWN_FLAGS = 0x7F, ///< Known flags. Any unknown set flag will disable the GRF.
+ TLF_KNOWN_FLAGS = 0xFF, ///< Known flags. Any unknown set flag will disable the GRF.
/** Flags which are still required after loading the GRF. */
TLF_DRAWING_FLAGS = ~TLF_CUSTOM_PALETTE,