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

This commit is contained in:
glx 2007-10-14 14:50:07 +00:00
parent c78c96a8ad
commit f45b2e8d38

View File

@ -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++;
}
}