MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / reload

Method reload

ogsr_engine/xrGame/location_manager.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void CLocationManager::reload(LPCSTR section)
26{
27 if (!m_object->spawn_ini() || !m_object->spawn_ini()->section_exist("alife") || !m_object->spawn_ini()->line_exist("alife", "terrain"))
28 return;
29 setup_location_types(m_vertex_types, m_object->spawn_ini(), m_object->spawn_ini()->r_string("alife", "terrain"));
30}

Callers

nothing calls this directly

Calls 5

setup_location_typesFunction · 0.85
spawn_iniMethod · 0.80
section_existMethod · 0.80
line_existMethod · 0.80
r_stringMethod · 0.45

Tested by

no test coverage detected