summaryrefslogtreecommitdiffstats
path: root/src/core/Game.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-07 15:57:49 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-07 15:57:49 +0200
commit40888e9486f00aa852c531209bbfe55f24e2e04f (patch)
tree830ce89f85d2e10386d5d697468eee5f5c9e07d7 /src/core/Game.h
parentchanged default ID ranges. old default.ide incompatible now (diff)
downloadre3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.gz
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.bz2
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.lz
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.xz
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.zst
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.zip
Diffstat (limited to 'src/core/Game.h')
-rw-r--r--src/core/Game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Game.h b/src/core/Game.h
index 1b8fcb0a..ed9ded4f 100644
--- a/src/core/Game.h
+++ b/src/core/Game.h
@@ -58,6 +58,8 @@ public:
static void ShutDownForRestart(void);
static void InitialiseWhenRestarting(void);
static void Process(void);
+
+ static bool IsInInterior(void) { return currArea != AREA_MAIN_MAP; }
// NB: these do something on PS2
static void TidyUpMemory(bool, bool);