diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 10:41:39 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 10:41:39 +0100 |
commit | 236b3b1c2b6d6480acbe50f6f3c5f16c8208a95e (patch) | |
tree | d5afc2aeff0ae8c1152fe999fa3dbd6d9b86e401 /src/core | |
parent | sync with upstream (diff) | |
download | re3-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')
-rw-r--r-- | src/core/Streaming.h | 2 |
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); } |