# Conflicts:
#	src/dthinker.cpp
This commit is contained in:
Christoph Oelckers 2019-01-13 13:40:13 +01:00
commit 7b61965197
2 changed files with 2 additions and 2 deletions

View file

@ -2066,7 +2066,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());
}
}

View file

@ -315,7 +315,7 @@ void MapLoader::TranslateToStartSpot (int tag, const DVector2 &origin)
}
po->CalcCenter();
// For compatibility purposes
po->CenterSubsector = R_PointInSubsector(po->GetLevel(), po->CenterSpot.pos);
po->CenterSubsector = R_PointInSubsector(Level, po->CenterSpot.pos);
}
//==========================================================================