MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / Delete

Method Delete

TombEngine/Game/savegame.cpp:3130–3139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3128}
3129
3130void SaveGame::Delete(int slot)
3131{
3132 if (!IsSaveGameSlotValid(slot))
3133 return;
3134
3135 if (!DoesSaveGameExist(slot))
3136 return;
3137
3138 std::filesystem::remove(GetSavegameFilename(slot));
3139}

Callers

nothing calls this directly

Calls 1

removeFunction · 0.85

Tested by

no test coverage detected