- Added: Automap markers are stored in savegames now. Also moved the call
to AM_LevelInit to its proper place in G_DoLoadLevel, right after the call to P_SetupLevel to make it work as intended. SVN r667 (trunk)
This commit is contained in:
parent
10b71b09c8
commit
935eeb06f1
5 changed files with 17 additions and 10 deletions
|
|
@ -2004,6 +2004,7 @@ void G_DoLoadLevel (int position, bool autosave)
|
|||
}
|
||||
|
||||
P_SetupLevel (level.mapname, position);
|
||||
AM_LevelInit();
|
||||
|
||||
// [RH] Start lightning, if MAPINFO tells us to
|
||||
if (level.flags & LEVEL_STARTLIGHTNING)
|
||||
|
|
@ -2736,6 +2737,7 @@ void G_SerializeLevel (FArchive &arc, bool hubLoad)
|
|||
|
||||
// This must be saved, too, of course!
|
||||
FCanvasTextureInfo::Serialize (arc);
|
||||
AM_SerializeMarkers(arc);
|
||||
|
||||
if (!hubLoad)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue