forked from mirror/OpenTTD
(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.
This commit is contained in:
@@ -42,7 +42,7 @@ static inline uint32 GetVariable(const ResolverObject *object, byte variable, ui
|
||||
{
|
||||
/* First handle variables common with Action7/9/D */
|
||||
uint32 value;
|
||||
if (GetGlobalVariable(variable, &value)) return value;
|
||||
if (GetGlobalVariable(variable, &value, object->grffile)) return value;
|
||||
|
||||
/* Non-common variable */
|
||||
switch (variable) {
|
||||
|
Reference in New Issue
Block a user