summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-22 03:42:43 +0000
committerbelugas <belugas@openttd.org>2007-03-22 03:42:43 +0000
commit691f8578fd4ea12c372534c367312ee7b8763c39 (patch)
tree7d05afaad21b690abc8c07d95e1f62206b11bccd /src/newgrf_spritegroup.cpp
parent829822768516b017f1962e08ce14b0586575c92f (diff)
downloadopenttd-691f8578fd4ea12c372534c367312ee7b8763c39.tar.xz
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/newgrf_spritegroup.cpp')
-rw-r--r--src/newgrf_spritegroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_spritegroup.cpp b/src/newgrf_spritegroup.cpp
index 95d5a2f7a..2ee9951c4 100644
--- a/src/newgrf_spritegroup.cpp
+++ b/src/newgrf_spritegroup.cpp
@@ -94,7 +94,7 @@ static inline uint32 GetVariable(const ResolverObject *object, byte variable, by
case 0x1A: return UINT_MAX;
case 0x1B: return GB(_display_opt, 0, 6);
case 0x1C: return object->last_value;
- case 0x20: return _opt.landscape == LT_HILLY ? GetSnowLine() : 0xFF;
+ case 0x20: return _opt.landscape == LT_ARCTIC ? GetSnowLine() : 0xFF;
/* Not a common variable, so evalute the feature specific variables */
default: return object->GetVariable(object, variable, parameter, available);