(svn r25072) -Codechange: Don't require the custom currency to be the last defined one

This commit is contained in:
planetmaker
2013-03-09 16:16:17 +00:00
parent 54915063f0
commit c22bbf5293
6 changed files with 77 additions and 78 deletions

View File

@@ -496,7 +496,7 @@ struct GameOptionsWindow : Window {
{
switch (widget) {
case WID_GO_CURRENCY_DROPDOWN: // Currency
if (index == CUSTOM_CURRENCY_ID) ShowCustCurrency();
if (index == CURRENCY_CUSTOM) ShowCustCurrency();
this->opt->locale.currency = index;
ReInitAllWindows();
break;