From ffd014db9265de5e23672476f334b2a2d53bec3e Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 24 Feb 2008 18:00:25 +0000 Subject: fix chat spacebar bug, minor updates --- src/client/input.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client/input.cc') 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; -- cgit v1.2.3