summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-08 21:20:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-08 21:20:49 +0300
commit6b18411ee5855acdbce2e0ab5dd508cb07b04706 (patch)
tree7eee355a1dfa9f2262d45a34954e611e5bd17a9a /src/client.cpp
parentbb258f09a0b50f6382be2ff36637191a8b103c3f (diff)
downloadmanaplus-6b18411ee5855acdbce2e0ab5dd508cb07b04706.tar.gz
manaplus-6b18411ee5855acdbce2e0ab5dd508cb07b04706.tar.bz2
manaplus-6b18411ee5855acdbce2e0ab5dd508cb07b04706.tar.xz
manaplus-6b18411ee5855acdbce2e0ab5dd508cb07b04706.zip
Allow assign keys before connecting to game.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 12415c6e4..a7ee6a32c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -857,6 +857,9 @@ int Client::gameExec()
break;
case SDL_KEYDOWN:
+ inputManager.handleAssignKey(event);
+ break;
+
default:
break;