Skip to content

Commit

Permalink
Set transparency cache dirty when placing a vehicle.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Dec 8, 2024
1 parent 9bd8345 commit ed5feca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ void map::add_vehicle_to_cache( vehicle *veh )
ch.set_veh_cached_parts( p.raw(), *veh, static_cast<int>( vpr.part_index() ) );
if( inbounds( p ) ) {
ch.set_veh_exists_at( p.raw(), true );
set_transparency_cache_dirty( p );
}
}
}
Expand Down

0 comments on commit ed5feca

Please sign in to comment.