DEADSOFTWARE

keypad now works in menus
[d2df-sdl.git] / src / game / g_game.pas
index 70dba84c6abbe6fe6663cf7058cb9ef4e8b0937d..265533e11fa49a7f094e3438865f55deb36975ee 100644 (file)
@@ -1230,7 +1230,7 @@ begin
         if (not g_Game_IsClient) and
         (
           (
-            (e_KeyPressed(IK_RETURN) or e_KeyPressed(IK_SPACE))
+            (e_KeyPressed(IK_RETURN) or e_KeyPressed(IK_KPRETURN) or e_KeyPressed(IK_SPACE))
             and (not gJustChatted) and (not gConsoleShow) and (not gChatShow)
             and (g_ActiveWindow = nil)
           )