Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view.cc')
-rw-r--r--src/client/view.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index c31cc12..4180b1e 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -212,7 +212,11 @@ void draw_cursor()
std::stringstream colorstr(draw_crosshaircolor->str());
colorstr >> color;
}
- color.a = 0.5f;
+
+ if (cl_mousecontrol->value() && input::mouse_deadzone)
+ color.a = 0.3f;
+ else
+ color.a = 0.5f;
gl::color(color);
gl::begin(gl::Quads);