MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / IsSimulationEnabled

Method IsSimulationEnabled

engine/Poseidon/UI/Map/UIContainers.cpp:1795–1804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1793 ptr = ptr->Child();
1794 }
1795 return false;
1796}
1797
1798bool Display::IsSimulationEnabled() const
1799{
1800 const ControlsContainer* ptr = this;
1801 while (ptr->Child() != nullptr)
1802 {
1803 ptr = ptr->Child();
1804 }
1805
1806 return ptr->SimulationEnabled();
1807}

Callers 1

PlaySoundMethod · 0.45

Calls 2

SimulationEnabledMethod · 0.80
ChildMethod · 0.45

Tested by

no test coverage detected