Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-05 23:40:20 +0000
committerStijn Buys <ingar@osirion.org>2008-02-05 23:40:20 +0000
commit00a039fffea099eb53d2bbe77d3300b3d7ea768f (patch)
tree2255960b8f4b9c782502e9caa00703ffc134a6db /src/client/console.cc
parent1ed2e8eb1f1909a35f6fc8d5d6065bcac37c27ea (diff)
make keyboard input actually work
Diffstat (limited to 'src/client/console.cc')
-rw-r--r--src/client/console.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/console.cc b/src/client/console.cc
index d10be50..42ef78a 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -6,7 +6,7 @@
#include "client/console.h"
#include "client/video.h"
-#include "client/keys.h"
+#include "client/keyboard.h"
#include "core/core.h"
#include "render/render.h"
@@ -158,6 +158,7 @@ void flush()
void toggle()
{
console_visible = !console_visible;
+ setkeyboardmode(console_visible);
}
void keypressed(const SDL_keysym &keysym)