MCPcopy Create free account
hub / github.com/ddnet/ddnet / ChangeMap

Method ChangeMap

src/engine/server/server.cpp:2898–2902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2896}
2897
2898void CServer::ChangeMap(const char *pMap)
2899{
2900 str_copy(Config()->m_SvMap, pMap);
2901 m_MapReload = str_comp(Config()->m_SvMap, GameServer()->Map()->FullName()) != 0;
2902}
2903
2904void CServer::ReloadMap()
2905{

Callers

nothing calls this directly

Calls 5

str_compFunction · 0.85
str_copyFunction · 0.50
ConfigFunction · 0.50
FullNameMethod · 0.45
MapMethod · 0.45

Tested by

no test coverage detected