diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-24 18:00:25 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-24 18:00:25 +0000 |
commit | ffd014db9265de5e23672476f334b2a2d53bec3e (patch) | |
tree | ab1cc3c59dc05f7d87fc255273e5cc4f480b2758 /src/client/input.cc | |
parent | 27345ec20eebccd070287b89cdefb4e4381af5cf (diff) |
fix chat spacebar bug, minor updates
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index b339574..eda13fd 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -109,7 +109,9 @@ void frame(float seconds) switch (event.type) { case SDL_KEYUP: - if (!console::visible() && core::application()->connected() && core::localcontrol()) + if (!chat::visible() && !console::visible() && + core::application()->connected() && core::localcontrol()) + // send key events to the game world keyreleased(event.key.keysym); break; |