summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-06 14:43:23 +0200
committeraap <aap@papnet.eu>2020-05-06 14:43:23 +0200
commit25a4091fa86f81d4d3b8d74a125c484d9241934d (patch)
treee8d89895df06e142938b737909edf254228bcbd0 /src/objects
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-25a4091fa86f81d4d3b8d74a125c484d9241934d.tar
re3-25a4091fa86f81d4d3b8d74a125c484d9241934d.tar.gz
re3-25a4091fa86f81d4d3b8d74a125c484d9241934d.tar.bz2
re3-25a4091fa86f81d4d3b8d74a125c484d9241934d.tar.lz
re3-25a4091fa86f81d4d3b8d74a125c484d9241934d.tar.xz
re3-25a4091fa86f81d4d3b8d74a125c484d9241934d.tar.zst
re3-25a4091fa86f81d4d3b8d74a125c484d9241934d.zip
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/DummyObject.cpp1
-rw-r--r--src/objects/Object.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/objects/DummyObject.cpp b/src/objects/DummyObject.cpp
index d5805073..8dd1643d 100644
--- a/src/objects/DummyObject.cpp
+++ b/src/objects/DummyObject.cpp
@@ -10,4 +10,5 @@ CDummyObject::CDummyObject(CObject *obj)
AttachToRwObject(obj->m_rwObject);
obj->DetachFromRwObject();
m_level = obj->m_level;
+ m_area = obj->m_area;
}
diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp
index ab1290b0..fb1ab1a7 100644
--- a/src/objects/Object.cpp
+++ b/src/objects/Object.cpp
@@ -68,6 +68,7 @@ CObject::CObject(CDummyObject *dummy)
dummy->DetachFromRwObject();
Init();
m_level = dummy->m_level;
+ m_area = dummy->m_area;
}
CObject::~CObject(void)