Permalink
Browse files

- work

Does not compile!
  • Loading branch information...
coelckers committed Jan 11, 2019
1 parent 1b1e2ef commit b94a5939633d9bb332702eb6b00a738ff5a1fbd2
@@ -177,7 +177,7 @@ void FS_EmulateCmd(FLevelLocals *Level, char * string)
Level->fogdensity = sc.Number * 70 / 400;
Level->outsidefogdensity = 0;
Level->skyfog = 0;
Level->info->outsidefog = 0;
Level->outsidefog = 0;
}
else if (sc.Compare("gr_fogcolor"))
{
@@ -150,7 +150,7 @@ void FScriptLoader::ParseInfoCmd(char *line, FString &scriptsrc)
{
sc.MustGetStringName("=");
sc.MustGetString();
Level->info->ExitPic = sc.String;
const_cast<level_info_t*>(Level->info)->ExitPic = sc.String;
}
else if (sc.Compare("gravity"))
{
@@ -1028,7 +1028,7 @@ void G_Ticker ()
switch (gameaction)
{
case ga_loadlevel:
G_DoLoadLevel (-1, false, false);
G_DoLoadLevel (currentSession->nextlevel, -1, false, false);
break;
case ga_recordgame:
G_CheckDemoStatus();
@@ -1924,8 +1924,7 @@ void G_DoLoadGame ()
NextSkill = -1;
arc("nextskill", NextSkill);

if (level.info != nullptr)
level.info->Snapshot.Clean();
currentSession->Snapshots.Remove(level.MapName);

BackupSaveName = savename;

Oops, something went wrong.

0 comments on commit b94a593

Please sign in to comment.