diff --git a/src/common/engine/serializer.cpp b/src/common/engine/serializer.cpp index 34fd6956b..7fbf7adc6 100644 --- a/src/common/engine/serializer.cpp +++ b/src/common/engine/serializer.cpp @@ -1,4 +1,5 @@ /* +/* ** serializer.cpp ** Savegame wrapper around RapidJSON ** diff --git a/src/g_game.cpp b/src/g_game.cpp index 6d891a2e4..90f12896b 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -1892,9 +1892,9 @@ bool G_CheckSaveGameWads (FSerializer &arc, bool printwarn) bool printRequires = false; FString text; - arc("Game WAD", text); + text = arc.GetString("Game WAD"); CheckSingleWad (text.GetChars(), printRequires, printwarn); - arc("Map WAD", text); + text = arc.GetString("Map WAD"); CheckSingleWad (text.GetChars(), printRequires, printwarn); if (printRequires)