mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- Exhumed: only run the level init code after loading a save, not after saving.
Fixes #221
This commit is contained in:
parent
6c36852ceb
commit
ddd0b412ae
1 changed files with 66 additions and 62 deletions
|
@ -101,6 +101,9 @@ void GameInterface::SerializeGameState(FSerializer& arc)
|
|||
SerializeSpider(arc);
|
||||
SerializeWasp(arc);
|
||||
}
|
||||
if (arc.isReading())
|
||||
{
|
||||
|
||||
// reset the sky in case it hasn't been done yet.
|
||||
psky_t* pSky = tileSetupSky(DEFAULTPSKY);
|
||||
pSky->tileofs[0] = 0;
|
||||
|
@ -130,6 +133,7 @@ void GameInterface::SerializeGameState(FSerializer& arc)
|
|||
}
|
||||
|
||||
Mus_ResumeSaved();
|
||||
}
|
||||
}
|
||||
|
||||
END_PS_NS
|
||||
|
|
Loading…
Reference in a new issue