From 0cc8449101ea90b8b946e0ea0e995c9a643a1afd Mon Sep 17 00:00:00 2001 From: glx Date: Sun, 14 Oct 2007 14:50:07 +0000 Subject: [PATCH] (svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack --- src/newgrf_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp index 067e080c50..b395d8be7b 100644 --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -554,7 +554,7 @@ void PrepareTextRefStackUsage() byte *p = _newgrf_textrefstack.stack; for (uint i = 0; i < 6; i++) { for (uint j = 0; j < 32; j += 8) { - *p = GB(_temp_store.Get(0x100 + i), 32 - j, 8); + *p = GB(_temp_store.Get(0x100 + i), j, 8); p++; } }