diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas
index 21eba04fdf38c99bc261d872b2bcc502e9969b91..231737bb1db45fba057737caf4bf4feee5a3cdfd 100644 (file)
--- a/src/game/g_menu.pas
+++ b/src/game/g_menu.pas
snd: TPlayableSound;
res: Boolean;
begin
- if Key = Ord('y') then
+ if Key = IK_Y then
begin
g_Game_StopAllSounds(True);
case (Random(18)) of
g_Game_Quit();
end
else
- if Key = Ord('n') then
+ if Key = IK_N then
g_GUI_HideWindow();
end;