(svn r25075) -Codechange: Allow for more than 32 currencies

This commit is contained in:
planetmaker
2013-03-09 16:24:43 +00:00
parent bd301e8475
commit fae3cbae9f
3 changed files with 8 additions and 6 deletions

View File

@@ -189,7 +189,7 @@ struct GameOptionsWindow : Window {
list = new DropDownList();
*selected_index = this->opt->locale.currency;
StringID *items = BuildCurrencyDropdown();
uint disabled = _game_mode == GM_MENU ? 0 : ~GetMaskOfAllowedCurrencies();
uint64 disabled = _game_mode == GM_MENU ? 0LL : ~GetMaskOfAllowedCurrencies();
/* Add non-custom currencies; sorted naturally */
for (uint i = 0; i < CURRENCY_END; items++, i++) {