From 89de2efebc22b3754c18ede10dc07bfc397fc2d0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 2 Jul 2008 19:18:44 +0000 Subject: initial server ncurses console --- src/client/input.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/input.cc') 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 { -- cgit v1.2.3