diff options
author | frosch <frosch@openttd.org> | 2011-11-08 17:28:52 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-11-08 17:28:52 +0000 |
commit | 5aaecae6e2ea2c2236375274439645e669081328 (patch) | |
tree | 1f3f00675122f9121a07babbac593bb4bc6107aa /src/newgrf_spritegroup.cpp | |
parent | 0f28b20a7364558d730f84c32b445f3dad95795c (diff) | |
download | openttd-5aaecae6e2ea2c2236375274439645e669081328.tar.xz |
(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.
Diffstat (limited to 'src/newgrf_spritegroup.cpp')
-rw-r--r-- | src/newgrf_spritegroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_spritegroup.cpp b/src/newgrf_spritegroup.cpp index 2c89aa000..1ebf5bcf7 100644 --- a/src/newgrf_spritegroup.cpp +++ b/src/newgrf_spritegroup.cpp @@ -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) { |