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-07-02 19:18:44 +0000
committerStijn Buys <ingar@osirion.org>2008-07-02 19:18:44 +0000
commit89de2efebc22b3754c18ede10dc07bfc397fc2d0 (patch)
tree1d005c4b0ad66333235ecfbea03089bb31015b48 /src/client
parentfd6f22924fd0d85ee20fb1d5e4588ac441675ea9 (diff)
initial server ncurses console
Diffstat (limited to 'src/client')
-rw-r--r--src/client/input.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc
index d3feefe..6a62fa5 100644
--- a/src/client/input.cc
+++ b/src/client/input.cc
@@ -65,6 +65,9 @@ void func_screenshot(std::string const & args)
void func_ui_control(std::string const &args)
{
+ if (!core::localcontrol())
+ return;
+
if (cl_mousecontrol->value() > 0) {
(*cl_mousecontrol) = 0.0f;
} else {