(svn r4487) - Codechange: replace the custom currency magic number 23 with a define

This commit is contained in:
2006-04-20 21:13:08 +00:00
parent 92d8af75db
commit 5ddf986c8d
4 changed files with 5 additions and 5 deletions

View File

@@ -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;