aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCalinou <calinou@opmbx.org>2014-10-26 11:26:36 +0100
committerCraig Robbins <kde.psych@gmail.com>2014-12-07 21:54:44 +1000
commitbc2b8e9eefdb90295676881212bffe2852e01784 (patch)
treeb0ac5391cb8f9c123011ae943dfde43fcc6ff20e /src
parent5ffddc94c092d516d8ea2a2a0e909724c243df73 (diff)
downloadminetest-bc2b8e9eefdb90295676881212bffe2852e01784.tar.gz
minetest-bc2b8e9eefdb90295676881212bffe2852e01784.tar.bz2
minetest-bc2b8e9eefdb90295676881212bffe2852e01784.zip
Increase third person view distance
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.cpp b/src/camera.cpp
index 14ad99b30..e5954a589 100644
--- a/src/camera.cpp
+++ b/src/camera.cpp
@@ -380,7 +380,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime,
// Calculate new position
bool abort = false;
- for (int i = BS; i <= BS*2; i++)
+ for (int i = BS; i <= BS*2.75; i++)
{
my_cp.X = m_camera_position.X + m_camera_direction.X*-i;
my_cp.Z = m_camera_position.Z + m_camera_direction.Z*-i;