- a bit of cleanup.

This commit is contained in:
Christoph Oelckers 2020-03-08 13:54:00 +01:00
parent 62fa254497
commit 80cc12001f
4 changed files with 7 additions and 7 deletions

View file

@ -909,3 +909,8 @@ FString G_GetDemoPath()
return path; return path;
} }
CCMD(printinterface)
{
Printf("Current interface is %s\n", gi->Name());
}

View file

@ -467,9 +467,7 @@ int32_t G_LoadPlayer(FSaveGameNode *sv)
engineLoadMHK(workbuffer); engineLoadMHK(workbuffer);
} }
if (status == 2) if ((status = sv_loadsnapshot(*fil, 0, &h))) // read the rest...
G_NewGame_EnterLevel();
else if ((status = sv_loadsnapshot(*fil, 0, &h))) // read the rest...
{ {
// in theory, we could load into an initial dump first and trivially // in theory, we could load into an initial dump first and trivially
// recover if things go wrong... // recover if things go wrong...

View file

@ -218,9 +218,7 @@ int32_t G_LoadPlayer(const char *path)
engineLoadMHK(workbuffer); engineLoadMHK(workbuffer);
} }
if (status == 2) if ((status = sv_loadsnapshot(*fil, 0, &h))) // read the rest...
G_NewGame_EnterLevel();
else if ((status = sv_loadsnapshot(*fil, 0, &h))) // read the rest...
{ {
// in theory, we could load into an initial dump first and trivially // in theory, we could load into an initial dump first and trivially
// recover if things go wrong... // recover if things go wrong...

View file

@ -1097,7 +1097,6 @@ void G_DisplayLogo(void)
Mus_Stop(); Mus_Stop();
FX_StopAllSounds(); // JBF 20031228 FX_StopAllSounds(); // JBF 20031228
S_ClearSoundLocks(); // JBF 20031228
if (DEER) if (DEER)
{ {
if (!g_noLogo /* && (!g_netServer && ud.multimode < 2) */) if (!g_noLogo /* && (!g_netServer && ud.multimode < 2) */)