mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
b689e0adf2
commit
e3eeb229d8
1 changed files with 2 additions and 2 deletions
|
|
@ -1792,11 +1792,11 @@ void M_MinimapGenerate(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
filepath = va("%s" PATHSEP "MINIMAP-%d.png", srb2home, mul);
|
filepath = va("%s" PATHSEP "%s-MINIMAP-%d.png", srb2home, G_BuildMapName(gamemap), mul);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
filepath = va("%s" PATHSEP "MINIMAP.png", srb2home);
|
filepath = va("%s" PATHSEP "%s-MINIMAP.png", srb2home, G_BuildMapName(gamemap));
|
||||||
}
|
}
|
||||||
|
|
||||||
minigen = AM_MinimapGenerate(mul);
|
minigen = AM_MinimapGenerate(mul);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue