Allow ZScript to control saving and the automap
This commit is contained in:
parent
76c692ab7e
commit
8204879ff8
9 changed files with 68 additions and 0 deletions
|
|
@ -1547,6 +1547,12 @@ void DAutomap::Ticker ()
|
|||
if (!automapactive)
|
||||
return;
|
||||
|
||||
if ((primaryLevel->flags9 & LEVEL9_NOAUTOMAP))
|
||||
{
|
||||
AM_ToggleMap();
|
||||
return;
|
||||
}
|
||||
|
||||
amclock++;
|
||||
}
|
||||
|
||||
|
|
@ -3447,6 +3453,9 @@ void AM_ToggleMap()
|
|||
if (!primaryLevel || !primaryLevel->automap)
|
||||
return;
|
||||
|
||||
if (!automapactive && (primaryLevel->flags9 & LEVEL9_NOAUTOMAP))
|
||||
return;
|
||||
|
||||
if (!automapactive)
|
||||
{
|
||||
// Reset AM buttons
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue