X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_game.pas;h=df564347985c186103783938645e2ad44d63e28f;hb=4de34c0c003869d8f125768be330702020f3c514;hp=6ef589569664476b8e65e89dfb06b61e96e3a2ee;hpb=8cd33b294accd2d91e74720607bc8d7402ac2d6c;p=d2df-sdl.git diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 6ef5895..df56434 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -1668,7 +1668,9 @@ begin ( ( e_KeyPressed(IK_RETURN) or e_KeyPressed(IK_KPRETURN) or e_KeyPressed(IK_SPACE) or - e_KeyPressed(VK_FIRE) or e_KeyPressed(VK_OPEN) + e_KeyPressed(VK_FIRE) or e_KeyPressed(VK_OPEN) or + e_KeyPressed(JOY0_ATTACK) or e_KeyPressed(JOY1_ATTACK) or + e_KeyPressed(JOY2_ATTACK) or e_KeyPressed(JOY3_ATTACK) ) and (not gJustChatted) and (not gConsoleShow) and (not gChatShow) and (g_ActiveWindow = nil) @@ -4640,7 +4642,7 @@ begin ProcessLoading(true); - if e_KeyPressed(IK_ESCAPE) or e_KeyPressed(IK_SPACE) or e_KeyPressed(VK_ESCAPE) then + if e_KeyPressed(IK_SPACE) or e_KeyPressed(VK_ESCAPE) then begin State := 0; break;