MCPcopy Create free account
hub / github.com/CleverRaven/Cataclysm-DDA / update_cache

Function update_cache

tests/player_activities_test.cpp:1754–1763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1752}
1753
1754static void update_cache( map &m )
1755{
1756 // Why twice? See vision_test.cpp
1757 m.update_visibility_cache( 0 );
1758 m.invalidate_map_cache( 0 );
1759 m.build_map_cache( 0 );
1760 m.update_visibility_cache( 0 );
1761 m.invalidate_map_cache( 0 );
1762 m.build_map_cache( 0 );
1763}
1764
1765TEST_CASE( "activity interruption by distractions", "[activity][interruption]" )
1766{

Callers 2

inventory_entryMethod · 0.85

Calls 3

invalidate_map_cacheMethod · 0.80
build_map_cacheMethod · 0.80

Tested by

no test coverage detected