aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ott <supercodingmonkey@gmail.com>2015-04-25 02:18:26 -0400
committerCraig Robbins <kde.psych@gmail.com>2015-04-26 23:36:05 +1000
commit400c6087b6da0d4563573189535ba58f589bd7ae (patch)
tree469a359b79bc895e656093b61f1f823217c86b30
parent1c7c3492647aada9a60c7e11662a0defe3f4385c (diff)
downloadminetest-400c6087b6da0d4563573189535ba58f589bd7ae.tar.gz
minetest-400c6087b6da0d4563573189535ba58f589bd7ae.tar.bz2
minetest-400c6087b6da0d4563573189535ba58f589bd7ae.zip
Fix player pitch and yaw not being set properly
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 3dcfcfaa9..706f118cb 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1793,7 +1793,7 @@ void Game::run()
cam_view.camera_pitch) * cam_smoothing;
updatePlayerControl(cam_view);
step(&dtime);
- processClientEvents(&cam_view, &runData.damage_flash);
+ processClientEvents(&cam_view_target, &runData.damage_flash);
updateCamera(&flags, draw_times.busy_time, dtime,
runData.time_from_last_punch);
updateSound(dtime);