MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / StopMap

Method StopMap

PanzerChasm/client/client.cpp:608–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608void Client::StopMap()
609{
610 if( current_map_data_ != nullptr && sound_engine_ != nullptr )
611 sound_engine_->SetMap( nullptr );
612
613 current_map_data_= nullptr;
614 map_state_= nullptr;
615 minimap_state_= nullptr;
616
617 cutscene_player_= nullptr;
618}
619
620void Client::TrySwitchWeaponOnOutOfAmmo()
621{

Callers 1

ClearBeforeGameStartMethod · 0.45

Calls 1

SetMapMethod · 0.45

Tested by

no test coverage detected