Fix the currency equivalence bug

The custom currency configuration window was showing an incorrectly
equivalence ratio between GBP and the custom currency.
This commit is contained in:
Daniel Trujillo 2016-06-25 14:27:48 +02:00
parent bc01d91930
commit 6ce4584842
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ static void window_custom_currency_paint(rct_window *w, rct_drawpixelinfo *dpi)
gfx_draw_string_left(dpi, STR_RATE, NULL, w->colours[1], x, y);
sint32 baseExchange = 100/CurrencyDescriptors[CURRENCY_POUNDS].rate;
sint32 baseExchange = 100*CurrencyDescriptors[CURRENCY_POUNDS].rate;
set_format_arg(0, sint32, baseExchange);
gfx_draw_string_left(dpi, STR_CUSTOM_CURRENCY_EQUIVALENCY, gCommonFormatArgs, w->colours[1], x+200, y);