1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Bug fix: in-line sprites in text not rendered correctly

This commit is contained in:
ZedThree
2014-07-24 19:47:40 +02:00
parent ed079819fc
commit bba524a7a9

View File

@@ -2212,7 +2212,7 @@ void gfx_draw_string(rct_drawpixelinfo *dpi, char *buffer, int colour, int x, in
skip_char = 1;
break;
}
ebx = *(buffer - 3);
ebx = *((uint16*)(buffer - 3));
eax = ebx & 0x7FFFF;
g1_element = &(RCT2_ADDRESS(RCT2_ADDRESS_G1_ELEMENTS, rct_g1_element)[eax]);