M_MinimapGenerate: Include lumpname in minigen output filename

Corrects an oversight I thought of over the past few days.
- Permits a mapper doing minimap maintenance on multiple maps in one uninterrupted game session.
- Standard Filename format example: RR_GREENHILLS-MINIMAP.png
- Multiplier filename format example: RR_GREENHILLS-MINIMAP-10.png
This commit is contained in:
toaster 2023-01-27 19:28:54 +00:00
parent b689e0adf2
commit e3eeb229d8

View file

@ -1792,11 +1792,11 @@ void M_MinimapGenerate(void)
return;
}
filepath = va("%s" PATHSEP "MINIMAP-%d.png", srb2home, mul);
filepath = va("%s" PATHSEP "%s-MINIMAP-%d.png", srb2home, G_BuildMapName(gamemap), mul);
}
else
{
filepath = va("%s" PATHSEP "MINIMAP.png", srb2home);
filepath = va("%s" PATHSEP "%s-MINIMAP.png", srb2home, G_BuildMapName(gamemap));
}
minigen = AM_MinimapGenerate(mul);