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

Function reseteditor

source/src/editing.cpp:1451–1457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1449COMMAND(transformclipentities, "");
1450
1451void reseteditor() // reset only stuff that would cause trouble editing the next map (don't reset selections, for example)
1452{
1453 loopk(3) curedittex[k] = -1;
1454 pruneundos(0);
1455 undolevel = 0;
1456 pinnedclosestent = false;
1457}

Callers 1

resetmapFunction · 0.85

Calls 2

pruneundosFunction · 0.85
loopkFunction · 0.70

Tested by

no test coverage detected