summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/settings_gui.c b/settings_gui.c
index a91d07652..2678f5eb0 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -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;