MCPcopy Create free account
hub / github.com/ZDoom/Raze / LoadSavegame

Method LoadSavegame

source/common/menu/savegamemanager.cpp:229–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227//=============================================================================
228
229void FSavegameManagerBase::LoadSavegame(int Selected)
230{
231 PerformLoadGame(SaveGames[Selected]->Filename.GetChars(), true);
232 if (quickSaveSlot == (FSaveGameNode*)1)
233 {
234 quickSaveSlot = SaveGames[Selected];
235 }
236 M_ClearMenus();
237 LastAccessed = Selected;
238}
239
240DEFINE_ACTION_FUNCTION(FSavegameManager, LoadSavegame)
241{

Callers 1

DEFINE_ACTION_FUNCTIONFunction · 0.80

Calls 2

M_ClearMenusFunction · 0.85
GetCharsMethod · 0.45

Tested by

no test coverage detected