X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_menu.pas;h=231737bb1db45fba057737caf4bf4feee5a3cdfd;hb=002448a291229b79e2ee941ec6e287f731c56104;hp=21eba04fdf38c99bc261d872b2bcc502e9969b91;hpb=30bcb89f4decd5b5885ebde1fbb943b6563b1e3e;p=d2df-sdl.git diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas index 21eba04..231737b 100644 --- a/src/game/g_menu.pas +++ b/src/game/g_menu.pas @@ -889,7 +889,7 @@ var snd: TPlayableSound; res: Boolean; begin - if Key = Ord('y') then + if Key = IK_Y then begin g_Game_StopAllSounds(True); case (Random(18)) of @@ -927,7 +927,7 @@ begin g_Game_Quit(); end else - if Key = Ord('n') then + if Key = IK_N then g_GUI_HideWindow(); end;