File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
libopenage/renderer/stages/world Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ void WorldObject::fetch_updates(const time::time_t &time) {
6666
6767 // Thread-safe access to curves needs a lock on the render entity's mutex
6868 auto read_lock = this ->render_entity ->get_read_lock ();
69- this ->position .sync (this ->render_entity ->get_position ());
69+ this ->position .sync (this ->render_entity ->get_position (), this -> last_update );
7070 this ->animation_info .sync (this ->render_entity ->get_animation_path (),
7171 std::function<std::shared_ptr<renderer::resources::Animation2dInfo>(const std::string &)>(
7272 [&](const std::string &path) {
@@ -79,7 +79,8 @@ void WorldObject::fetch_updates(const time::time_t &time) {
7979 }
8080 return this ->asset_manager ->request_animation (path);
8181 }),
82- this ->last_update );
82+ this ->last_update ,
83+ true );
8384 this ->angle .sync (this ->render_entity ->get_angle (), this ->last_update );
8485
8586 // Unlock mutex of the render entity
You can’t perform that action at this time.
0 commit comments