(svn r9400) -Codechange: Use some more representative enum names for landscape types.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user