diff --git a/src/g_game.cpp b/src/g_game.cpp index a6b009aaec..49551e4ad1 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -2058,12 +2058,12 @@ static void PutSaveWads (FSerializer &arc) name = Wads.GetWadName (Wads.GetIwadNum()); arc.AddString("Game WAD", name); - // Name of wad the map resides in + // Name of wad the map resides in if (Wads.GetLumpFile (level.lumpnum) > Wads.GetIwadNum()) - { + { name = Wads.GetWadName (Wads.GetLumpFile (level.lumpnum)); arc.AddString("Map WAD", name); - } + } } static void PutSaveComment (FSerializer &arc) @@ -2079,7 +2079,7 @@ static void PutSaveComment (FSerializer &arc) arc.AddString("Creation Time", comment); - // Get level name + // Get level name //strcpy (comment, level.level_name); comment.Format("%s - %s\n", level.MapName.GetChars(), level.LevelName.GetChars());