Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-03-08 20:20:32 +0000
committerStijn Buys <ingar@osirion.org>2011-03-08 20:20:32 +0000
commit49fb18f0d5ec9643794e0cbe156c27a9883e5dd7 (patch)
treef74427fbc2462c3ef2fef982991128d4b46d2923 /src/client/video.cc
parente897f60d10c3725638e90d0cde4a033a71215409 (diff)
Removed mouse control deadzone in the center of the screen.
Diffstat (limited to 'src/client/video.cc')
-rw-r--r--src/client/video.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/video.cc b/src/client/video.cc
index 2949ae7..a610b86 100644
--- a/src/client/video.cc
+++ b/src/client/video.cc
@@ -319,10 +319,6 @@ void set_cursor()
ui::root()->set_pointer("control", ui::Palette::Pointer);
- if (input::mouse_deadzone) {
- ui::root()->input_mouse(render::State::width() / 2, render::State::height() / 2);
- }
-
} else if ((input::joystick_lastmoved_time() > input::mouse_lastmoved_time()) &&
(render::Camera::mode() == render::Camera::Cockpit || render::Camera::mode() == render::Camera::Track)) {