diff options
author | Ian C <ianc@noddybox.co.uk> | 2018-10-25 07:00:58 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2018-10-25 07:00:58 +0000 |
commit | b38b27007edc9d5f012c4fd124646c5043a71a2d (patch) | |
tree | 918bf8aa31281a87ac76424be7af0927add14942 /xd.c | |
parent | 326b09773ae658e0848f4171172bbae4c600e5ca (diff) |
Small tweak to mouselook in road demo for smaller windows.
Diffstat (limited to 'xd.c')
-rw-r--r-- | xd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |