summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-10-25 07:00:58 +0000
committerIan C <ianc@noddybox.co.uk>2018-10-25 07:00:58 +0000
commitb38b27007edc9d5f012c4fd124646c5043a71a2d (patch)
tree918bf8aa31281a87ac76424be7af0927add14942
parent326b09773ae658e0848f4171172bbae4c600e5ca (diff)
Small tweak to mouselook in road demo for smaller windows.
-rw-r--r--xd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xd.c b/xd.c
index 29419fb..e682773 100644
--- a/xd.c
+++ b/xd.c
@@ -4436,8 +4436,8 @@ static void RoadDemo(void)
if (mouselook)
{
- ang_y = -(mouse_x - centre_x);
- ang_x = mouse_y - centre_y;
+ ang_y = -(mouse_x - centre_x) * 2;
+ ang_x = (mouse_y - centre_y) * 2;
}
else
{