summaryrefslogtreecommitdiffstats
path: root/src/Streaming.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 10:58:51 +0200
committeraap <aap@papnet.eu>2019-06-27 10:58:51 +0200
commitd74b8fa9521b070ba09496563904a5e4b994edf2 (patch)
tree21d37d89d193bffa20ac2fcbbbf20d63408cd247 /src/Streaming.h
parentMerge pull request #61 from gennariarmando/master (diff)
downloadre3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.gz
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.bz2
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.lz
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.xz
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.zst
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.zip
Diffstat (limited to 'src/Streaming.h')
-rw-r--r--src/Streaming.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Streaming.h b/src/Streaming.h
index a2ff2f5b..f35c56d5 100644
--- a/src/Streaming.h
+++ b/src/Streaming.h
@@ -170,4 +170,6 @@ public:
static void LoadInitialVehicles(void);
static void LoadScene(const CVector &pos);
+
+ static bool IsModelLoaded(int32 id) { return ms_aInfoForModel[id].m_loadState == STREAMSTATE_LOADED; }
};