diff --git a/src/game.cpp b/src/game.cpp index 1cfd44acc79b6..95dcace0a6e9d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1501,7 +1501,6 @@ bool game::do_turn() sounds::process_sounds(); // Update vision caches for monsters. If this turns out to be expensive, // consider a stripped down cache just for monsters. - m.invalidate_map_cache( get_levz() ); m.build_map_cache( get_levz(), true ); monmove(); if( calendar::once_every( 3_minutes ) ) { @@ -3148,7 +3147,6 @@ void game::draw() //temporary fix for updating visibility for minimap ter_view_z = ( u.pos() + u.view_offset ).z; - m.invalidate_map_cache( ter_view_z ); m.build_map_cache( ter_view_z ); m.update_visibility_cache( ter_view_z ); diff --git a/src/handle_action.cpp b/src/handle_action.cpp index 4d3d94f7a4f1d..9b8189e5a3ec0 100644 --- a/src/handle_action.cpp +++ b/src/handle_action.cpp @@ -1951,7 +1951,6 @@ bool game::handle_action() add_msg( m_info, _( "You can't disassemble items while you're riding." ) ); } else { u.disassemble(); - g->m.invalidate_map_cache( g->get_levz() ); refresh_all(); } break;