summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_text.cpp')
-rw-r--r--src/newgrf_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index 1aa1af455..6213b419e 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -967,7 +967,7 @@ void PrepareTextRefStackUsage(byte numEntries)
byte *p = _newgrf_textrefstack->stack;
for (uint i = 0; i < numEntries; i++) {
for (uint j = 0; j < 32; j += 8) {
- *p = GB(_temp_store.Get(0x100 + i), j, 8);
+ *p = GB(_temp_store.GetValue(0x100 + i), j, 8);
p++;
}
}