Fixed dialogue boxes on windows
@@ -184,7 +184,7 @@ void UIDrawTextBufferChar()
if (text_lines[text_count] != '\b')
{
i = text_x + (18 * text_y);
- SetBankedBkgData(FONT_BANK, TEXT_BUFFER_START + i, 1, ptr + (letter * 16));
+ SetBankedBkgData(FONT_BANK, TEXT_BUFFER_START + i, 1, ptr + ((UWORD)letter * 16));
tile = TEXT_BUFFER_START + text_x + (text_y * 18);
set_win_tiles(text_x + 1 + choice_enabled, text_y + 1, 1, 1, &tile);
}
