Add an explicit error for attempting to generate a preliminary minimap while the automap is open.

This commit is contained in:
toaster 2023-01-23 19:17:35 +00:00 committed by GenericHeroGuy
parent 073c3ed4c2
commit 5cd0f14345

View file

@ -1652,6 +1652,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)