From 5e4a1bf239d76a5525a4409dc7a2094fbffe0eb3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 3 Apr 2012 01:29:22 +0300 Subject: Put gui input logic before most game input logic. This solving game and gui shortcuts conflicts. --- src/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index dd8838244..875d70a46 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -882,6 +882,8 @@ int Client::gameExec() gui->logic(); if (mGame) mGame->logic(); + else if (gui) + gui->handleInput(); sound.logic(); -- cgit v1.2.3-60-g2f50