mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack
This commit is contained in:
parent
c78c96a8ad
commit
f45b2e8d38
@ -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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user