From d3eb983dd314a9b29f3dec519ded4bd66eb34aee Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 13 Jan 2019 12:24:17 +0200 Subject: [PATCH] - fixed loading of saved game Wrong FName constructor was picked for name of map snapshot, it was not restored because of that --- src/g_level.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_level.cpp b/src/g_level.cpp index 313eaf2c1d..3b673ffb44 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -2065,7 +2065,7 @@ void G_ReadSnapshots(FResourceFile *resf) if (ptr != nullptr) { ptrdiff_t maplen = ptr - resl->FullName.GetChars(); - FName mapname(resl->FullName.GetChars(), (size_t)maplen); + FName mapname(resl->FullName.GetChars(), (size_t)maplen, false); currentSession->Snapshots.Insert(mapname, resl->GetRawData()); } }