diff options
author | Stijn Buys <ingar@osirion.org> | 2008-04-06 17:23:01 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-04-06 17:23:01 +0000 |
commit | 9297b2c1161ab412e083e7c191f64cbdc39125bc (patch) | |
tree | e192334f9ea0a64587a408ae2c027aada578817b /src/client/view.cc | |
parent | c5e90960fc333c2b1d2b3e961da439928b2ac872 (diff) |
mouse control fine-tuning
Diffstat (limited to 'src/client/view.cc')
-rw-r--r-- | src/client/view.cc | 6 |
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); |