diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-31 09:02:50 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-31 09:02:50 +0000 |
commit | da0715c2648b662892a72e32e8528a08608d0d0b (patch) | |
tree | 727e2aa37620dd932700b407ee1749e4ab1c1793 /src/client/input.cc | |
parent | 8933b795003f8ad202fce6e553191be8932a37b6 (diff) |
chatbox accepts console commands
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index 22db6bc..d594dbf 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -241,8 +241,10 @@ void frame(float seconds) //last_control = 0; console()->toggle(); + /* if (console()->visible() && chat::visible()) chat::toggle(); + */ } else if (console()->visible()) { // send key events to the console console()->keypressed(translate_keysym(event.key.keysym)); |