(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.

This commit is contained in:
frosch
2011-11-08 17:28:52 +00:00
parent 0f28b20a73
commit 5aaecae6e2
3 changed files with 14 additions and 6 deletions

View File

@@ -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) {