From f6c68feb4ec1aa8f35978eb52c81748dd386e0dd Mon Sep 17 00:00:00 2001 From: korenkonder Date: Sun, 16 Jul 2023 12:00:08 +0300 Subject: [PATCH] Fix `MOVE_CAMERA` not updating --- src/ReDIVA/pv_game/pv_game_camera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ReDIVA/pv_game/pv_game_camera.cpp b/src/ReDIVA/pv_game/pv_game_camera.cpp index 42fe5454..0f85699a 100644 --- a/src/ReDIVA/pv_game/pv_game_camera.cpp +++ b/src/ReDIVA/pv_game/pv_game_camera.cpp @@ -248,6 +248,8 @@ static bool pv_game_camera_get_move_camera(cam_struct* cam, float_t delta_time) if (!cam) return false; + pv_game_camera_data.curr_time += delta_time; + mat4 dir_mat; mat4 up_mat; vec3 interest;