mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-24 14:31:02 +00:00
Add an explicit error for attempting to generate a preliminary minimap while the automap is open.
This commit is contained in:
parent
ea7e29f279
commit
9559dab6a2
1 changed files with 6 additions and 0 deletions
|
|
@ -1763,6 +1763,12 @@ void M_MinimapGenerate(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (automapactive)
|
||||
{
|
||||
CONS_Alert(CONS_ERROR, "The automap is active! Please deactivate it and try again.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
minigen = AM_MinimapGenerate(wh);
|
||||
|
||||
if (minigen == NULL || minigen->buf == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue