- Fixed: Starting in a sector with a musinfo thing would not trigger the thing.

SVN r3313 (trunk)
This commit is contained in:
Randy Heit 2011-11-07 00:31:17 +00:00
commit 66f86add05
3 changed files with 47 additions and 10 deletions

View file

@ -665,6 +665,7 @@ void G_DoCompleted (void)
else
{
level_info_t *nextinfo = FindLevelInfo (nextlevel);
wminfo.next = nextinfo->mapname;
wminfo.LName1 = TexMan[TexMan.CheckForTexture(nextinfo->pname, FTexture::TEX_MiscPatch)];
@ -1366,6 +1367,11 @@ void G_SerializeLevel (FArchive &arc, bool hubLoad)
<< level.maptime
<< i;
if (SaveVersion >= 3313)
{
arc << level.nextmusic;
}
// Hub transitions must keep the current total time
if (!hubLoad)
level.totaltime = i;