diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-30 15:45:45 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-30 15:45:45 +0200 |
commit | 7d758f3a9f7ad9b46cc9ab296166365597898bf5 (patch) | |
tree | 906b8d3f86c6ee6969bc553b1ea73ed6386409f0 /src/objects | |
parent | Fix downloading from PR (diff) | |
download | re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.tar re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.tar.gz re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.tar.bz2 re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.tar.lz re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.tar.xz re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.tar.zst re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.zip |
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/CutsceneObject.cpp | 2 | ||||
-rw-r--r-- | src/objects/Object.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/CutsceneObject.cpp b/src/objects/CutsceneObject.cpp index 7b4ae02b..492d5416 100644 --- a/src/objects/CutsceneObject.cpp +++ b/src/objects/CutsceneObject.cpp @@ -15,7 +15,7 @@ CCutsceneObject::CCutsceneObject(void) { - m_status = STATUS_SIMPLE; + SetStatus(STATUS_SIMPLE); bUsesCollision = false; bStreamingDontDelete = true; ObjectCreatedBy = CUTSCENE_OBJECT; diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp index c0ce38f8..1ae5e9b0 100644 --- a/src/objects/Object.cpp +++ b/src/objects/Object.cpp @@ -309,7 +309,7 @@ CObject::RefModelInfo(int32 modelId) void CObject::Init(void) { - m_type = ENTITY_TYPE_OBJECT;; + m_type = ENTITY_TYPE_OBJECT; CObjectData::SetObjectData(m_modelIndex, *this); m_nEndOfLifeTime = 0; ObjectCreatedBy = GAME_OBJECT; |