forked from mirror/OpenTTD
(svn r4487) - Codechange: replace the custom currency magic number 23 with a define
This commit is contained in:
@@ -171,8 +171,7 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
break;
|
||||
case 5: /* Currency */
|
||||
if (e->dropdown.index == 23)
|
||||
ShowCustCurrency();
|
||||
if (e->dropdown.index == CUSTOM_CURRENCY_ID) ShowCustCurrency();
|
||||
_opt_ptr->currency = e->dropdown.index;
|
||||
MarkWholeScreenDirty();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user