From 588897c581be795a17399034dfb9ccbc439c4a66 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 16 Dec 2011 23:40:19 +0100 Subject: neverball patch: Fix factor --- neverball/tilt_wii.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neverball/tilt_wii.patch b/neverball/tilt_wii.patch index 85bd0fa..3a096bf 100644 --- a/neverball/tilt_wii.patch +++ b/neverball/tilt_wii.patch @@ -172,7 +172,7 @@ index 44eaf73..5427540 100644 + + if ((bal_y >= -1) && (bal_y <= 1)) { -+ bal_y *= 15; ++ bal_y *= 20; state.x = (state.x * (FILTER - 1) + - wiimote.tilt.y) / FILTER; + bal_y) / FILTER; @@ -180,7 +180,7 @@ index 44eaf73..5427540 100644 - if (isnormal(wiimote.tilt.x)) + if ((bal_x >= -1) && (bal_x <= 1)) { -+ bal_x *= 15; ++ bal_x *= 20; state.z = (state.z * (FILTER - 1) + - wiimote.tilt.x) / FILTER; + bal_x) / FILTER; -- cgit v1.2.3