summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-08 10:41:39 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-08 10:41:39 +0100
commit236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e (patch)
treed5afc2aeff0ae8c1152fe999fa3dbd6d9b86e401 /src/core/Streaming.h
parentsync with upstream (diff)
downloadre3-236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e.tar
re3-236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e.tar.gz
re3-236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e.tar.bz2
re3-236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e.tar.lz
re3-236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e.tar.xz
re3-236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e.tar.zst
re3-236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e.zip
Diffstat (limited to 'src/core/Streaming.h')
-rw-r--r--src/core/Streaming.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Streaming.h b/src/core/Streaming.h
index 6e354021..f294a7c5 100644
--- a/src/core/Streaming.h
+++ b/src/core/Streaming.h
@@ -123,7 +123,7 @@ public:
static bool HasColLoaded(int32 id) { return HasModelLoaded(id+STREAM_OFFSET_COL); }
static bool HasAnimLoaded(int32 id) { return HasModelLoaded(id+STREAM_OFFSET_ANIM); }
static bool CanRemoveModel(int32 id) { return (ms_aInfoForModel[id].m_flags & STREAMFLAGS_CANT_REMOVE) == 0; }
- static bool IsScriptOwnedModel(int32 id) { return (ms_aInfoForModel[id].m_flags & STREAMFLAGS_SCRIPTOWNED) == 0; }
+ static bool IsScriptOwnedModel(int32 id) { return (ms_aInfoForModel[id].m_flags & STREAMFLAGS_SCRIPTOWNED); }
static bool CanRemoveTxd(int32 id) { return CanRemoveModel(id+STREAM_OFFSET_TXD); }
static bool CanRemoveCol(int32 id) { return CanRemoveModel(id+STREAM_OFFSET_COL); }
static bool CanRemoveAnim(int32 id) { return CanRemoveModel(id+STREAM_OFFSET_ANIM); }