From ed5feca669355b815eef3e59f4a28029160104a9 Mon Sep 17 00:00:00 2001 From: Kevin Granade Date: Sun, 8 Dec 2024 11:35:18 -0800 Subject: [PATCH] Set transparency cache dirty when placing a vehicle. --- src/map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map.cpp b/src/map.cpp index 97a20b51092ab..66c9808831a4e 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -498,6 +498,7 @@ void map::add_vehicle_to_cache( vehicle *veh ) ch.set_veh_cached_parts( p.raw(), *veh, static_cast( vpr.part_index() ) ); if( inbounds( p ) ) { ch.set_veh_exists_at( p.raw(), true ); + set_transparency_cache_dirty( p ); } } }