MCPcopy Create free account
hub / github.com/assaultcube/AC / xmapdelete

Function xmapdelete

source/src/worldio.cpp:1414–1417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1412bool validxmapname(const char *nick) { if(validmapname(nick)) return true; conoutf("sry, %s is not a valid xmap nickname", nick); return false; }
1413
1414void xmapdelete(xmap *&xm) // make sure, we don't point to deleted xmaps
1415{
1416 DELETEP(xm);
1417}
1418
1419void xmapbackup(const char *nickprefix, const char *nick) // throw away existing backup and make a new one
1420{

Callers 4

xmapbackupFunction · 0.85
worldio.cppFile · 0.85
restorexmapFunction · 0.85
loadallxmapsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected