diff options
Diffstat (limited to '')
-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; |