From 06212c7d8dc20b11f49d54e42f8299740f90a231 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 9 Nov 2008 17:44:24 +0000 Subject: improved client notifications, minor bugfixes --- src/client/input.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/input.cc') diff --git a/src/client/input.cc b/src/client/input.cc index dcddea3..f8c756f 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -111,7 +111,7 @@ void func_screenshot(std::string const & args) void func_ui_control(std::string const &args) { - if (!core::localcontrol()) + if (!core::localcontrol() || core::localplayer()->view()) return; if (input_mousecontrol->value() > 0) { -- cgit v1.2.3