(svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack

pull/155/head
glx 17 years ago
parent 5a64bb79d8
commit 0cc8449101

@ -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…
Cancel
Save