From 88e7cc8776bf96afd56a9aca39c0b2fccda1d33c Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 2 Oct 2023 17:11:37 +0200 Subject: [PATCH] Fix compile errors. --- modules/tile_map/tile_map.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/tile_map/tile_map.cpp b/modules/tile_map/tile_map.cpp index a17799b0e..deba5620b 100644 --- a/modules/tile_map/tile_map.cpp +++ b/modules/tile_map/tile_map.cpp @@ -138,10 +138,10 @@ void TileMap::_notification(int p_what) { case NOTIFICATION_RESET_PHYSICS_INTERPOLATION: { if (is_visible_in_tree() && is_physics_interpolated_and_enabled()) { - for (Map::Element *E = quadrant_map.front(); E; E = E->next()) { + for (RBMap::Element *E = quadrant_map.front(); E; E = E->next()) { Quadrant &q = E->get(); for (List::Element *F = q.canvas_items.front(); F; F = F->next()) { - VisualServer::get_singleton()->canvas_item_reset_physics_interpolation(F->get()); + RenderingServer::get_singleton()->canvas_item_reset_physics_interpolation(F->get()); } } } @@ -815,7 +815,7 @@ void TileMap::update_dirty_quadrants() { // Reset physics interpolation for any recreated canvas items. if (is_physics_interpolated_and_enabled() && is_visible_in_tree()) { for (List::Element *F = q.canvas_items.front(); F; F = F->next()) { - VisualServer::get_singleton()->canvas_item_reset_physics_interpolation(F->get()); + RenderingServer::get_singleton()->canvas_item_reset_physics_interpolation(F->get()); } }