diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/camera.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/camera.cc b/src/client/camera.cc index c4a60b0..29310fc 100644 --- a/src/client/camera.cc +++ b/src/client/camera.cc @@ -179,7 +179,7 @@ void draw(float seconds) if (mode == Track) { if (core::localcontrol()->state() && core::localcontrol()->model()) { - target -= (core::localcontrol()->model()->maxbbox().x + 0.1f) * core::localcontrol()->state()->axis().forward(); + target -= (core::localcontrol()->model()->maxbbox().x + 0.15f) * core::localcontrol()->state()->axis().forward(); target += (core::localcontrol()->model()->maxbbox().z + 0.3f ) * core::localcontrol()->state()->axis().up(); @@ -208,7 +208,7 @@ void draw(float seconds) } else if (mode == Cockpit) { if (core::localcontrol()->state() && core::localcontrol()->model()) - target += core::localcontrol()->model()->maxbbox().x * + target += (core::localcontrol()->model()->maxbbox().x+0.05) * core::localcontrol()->state()->axis().forward(); distance = 0.0f; |