diff options
author | aap <aap@papnet.eu> | 2019-06-18 09:50:26 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-18 09:50:26 +0200 |
commit | 3b64bd1b4a5008b14b54edb257d4e8a5a8277c26 (patch) | |
tree | ca1ba1aef3b1c654f586d43b12dc27ea41c513b8 /src/entities/DummyObject.cpp | |
parent | fixed anim bug (diff) | |
download | re3-3b64bd1b4a5008b14b54edb257d4e8a5a8277c26.tar re3-3b64bd1b4a5008b14b54edb257d4e8a5a8277c26.tar.gz re3-3b64bd1b4a5008b14b54edb257d4e8a5a8277c26.tar.bz2 re3-3b64bd1b4a5008b14b54edb257d4e8a5a8277c26.tar.lz re3-3b64bd1b4a5008b14b54edb257d4e8a5a8277c26.tar.xz re3-3b64bd1b4a5008b14b54edb257d4e8a5a8277c26.tar.zst re3-3b64bd1b4a5008b14b54edb257d4e8a5a8277c26.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/DummyObject.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/entities/DummyObject.cpp b/src/entities/DummyObject.cpp new file mode 100644 index 00000000..083ad6c6 --- /dev/null +++ b/src/entities/DummyObject.cpp @@ -0,0 +1,13 @@ +#include "common.h" +#include "patcher.h" +#include "DummyObject.h" +#include "Pools.h" + +CDummyObject::CDummyObject(CObject *obj) +{ + SetModelIndexNoCreate(obj->GetModelIndex()); + if(obj->m_rwObject) + AttachToRwObject(obj->m_rwObject); + obj->DetachFromRwObject(); + m_level = obj->m_level; +} |