mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix player pitch and yaw not being set properly
This commit is contained in:
parent
1c7c349264
commit
400c6087b6
@ -1793,7 +1793,7 @@ void Game::run()
|
|||||||
cam_view.camera_pitch) * cam_smoothing;
|
cam_view.camera_pitch) * cam_smoothing;
|
||||||
updatePlayerControl(cam_view);
|
updatePlayerControl(cam_view);
|
||||||
step(&dtime);
|
step(&dtime);
|
||||||
processClientEvents(&cam_view, &runData.damage_flash);
|
processClientEvents(&cam_view_target, &runData.damage_flash);
|
||||||
updateCamera(&flags, draw_times.busy_time, dtime,
|
updateCamera(&flags, draw_times.busy_time, dtime,
|
||||||
runData.time_from_last_punch);
|
runData.time_from_last_punch);
|
||||||
updateSound(dtime);
|
updateSound(dtime);
|
||||||
|
Loading…
Reference in New Issue
Block a user