- moved the 'no player start' check to the end of G_DoLoadLevel because inside G_FinishTravel it would leave some data in undefined places that later can cause a crash.

This commit is contained in:
Christoph Oelckers 2017-04-25 19:55:05 +02:00
commit 090502b243
2 changed files with 2 additions and 1 deletions

View file

@ -2073,6 +2073,7 @@ public:
else if (sc.Compare("sector"))
{
sector_t sec;
memset(&sec, 0, sizeof(sector_t));
ParseSector(&sec, ParsedSectors.Size());
ParsedSectors.Push(sec);
}