diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-02 19:18:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-02 19:18:44 +0000 |
commit | 89de2efebc22b3754c18ede10dc07bfc397fc2d0 (patch) | |
tree | 1d005c4b0ad66333235ecfbea03089bb31015b48 /src/client | |
parent | fd6f22924fd0d85ee20fb1d5e4588ac441675ea9 (diff) |
initial server ncurses console
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/input.cc | 3 |
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 { |