Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/render/camera.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/camera.cc b/src/render/camera.cc
index d9821a3..a020947 100644
--- a/src/render/camera.cc
+++ b/src/render/camera.cc
@@ -295,7 +295,7 @@ void Camera::frame(float seconds)
}
*/
float f = ( camera_frustum_size/State::aspect() );
- camera_target += target_axis.up() * math::max(f, core::localcontrol()->radius());
+ camera_target += camera_axis.up() * math::max(f, core::localcontrol()->radius());
distance = math::max(f, core::localcontrol()->radius()) + camera_zoom * core::localcontrol()->radius();
} else if (mode() == Free) {