mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed loading of saved game
Wrong FName constructor was picked for name of map snapshot, it was not restored because of that
This commit is contained in:
parent
2bb3571c2c
commit
d3eb983dd3
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue