DEADSOFTWARE

fixed exit from network related screens
[d2df-sdl.git] / src / game / g_game.pas
index b3c00635e29cf462295f45fcda3138c89d2f9414..26465349d5047fb6dc9de60e125f7607174d662f 100644 (file)
@@ -4649,7 +4649,8 @@ begin
 
     ProcessLoading(true);
 
-    if e_KeyPressed(IK_SPACE) or e_KeyPressed(VK_ESCAPE) then
+    if e_KeyPressed(IK_SPACE) or e_KeyPressed(IK_ESCAPE) or e_KeyPressed(VK_ESCAPE) or
+       e_KeyPressed(JOY0_JUMP) or e_KeyPressed(JOY1_JUMP) or e_KeyPressed(JOY2_JUMP) or e_KeyPressed(JOY3_JUMP) then
     begin
       State := 0;
       break;