summaryrefslogtreecommitdiff
path: root/src/entities/Entity.cpp
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/entities/Entity.cpp
parent600cbee7d43cadacd0e3fe122d944e771dcfe450 (diff)
setting some areas so objects dont disappear
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r--src/entities/Entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 107238c3..6c7a628e 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -77,6 +77,7 @@ CEntity::CEntity(void)
m_scanCode = 0;
m_modelIndex = -1;
m_rwObject = nil;
+ m_area = AREA_MAIN_MAP;
m_randomSeed = CGeneral::GetRandomNumber();
m_pFirstReference = nil;
}