cache FName conversion for GetGlobalShader

This commit is contained in:
Ricardo Luís Vaz Silva 2025-05-12 18:27:25 -03:00 committed by Magnus Norddahl
commit f522296970
3 changed files with 5 additions and 4 deletions

View file

@ -1386,6 +1386,7 @@ void G_DoLoadLevel(const FString &nextmapname, int position, bool autosave, bool
void FLevelLocals::DoLoadLevel(const FString &nextmapname, int position, bool autosave, bool newGame)
{
MapName = nextmapname;
MapFName = MapName;
int i;
if (NextSkill >= 0)