diff --git a/src/g_game.cpp b/src/g_game.cpp index 397f9eb75d..81d12d080b 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -3154,6 +3154,7 @@ DEFINE_GLOBAL(globalfreeze) DEFINE_GLOBAL(gametic) DEFINE_GLOBAL(demoplayback) DEFINE_GLOBAL(automapactive); +DEFINE_GLOBAL(viewactive); DEFINE_GLOBAL(Net_Arbitrator); DEFINE_GLOBAL(netgame); DEFINE_GLOBAL(paused); diff --git a/wadsrc/static/zscript/doombase.zs b/wadsrc/static/zscript/doombase.zs index 141b2b0c24..9dd5e550b1 100644 --- a/wadsrc/static/zscript/doombase.zs +++ b/wadsrc/static/zscript/doombase.zs @@ -8,7 +8,8 @@ extend struct _ native readonly Array<@TerrainDef> Terrains; native int validcount; native play @DehInfo deh; - native readonly bool automapactive; + native readonly ui bool automapactive; // is automap enabled? + native readonly ui bool viewactive; // if automap is active, true = main automap, false = overlay automap. native readonly TextureID skyflatnum; native readonly int gametic; native readonly int Net_Arbitrator;