summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-20 22:54:22 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-20 22:54:22 +0200
commit510261cb058d00bc0388ad58a33b173e5b1536ac (patch)
tree2aa795fe25f5d3bc4fa22d93f7a966838e50b3b5 /src/objects
parentscript revision (diff)
parentPickup and audio fix (diff)
downloadre3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar
re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.gz
re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.bz2
re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.lz
re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.xz
re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.zst
re3-510261cb058d00bc0388ad58a33b173e5b1536ac.zip
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/Object.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp
index e6bb7aee..fd5a2aa3 100644
--- a/src/objects/Object.cpp
+++ b/src/objects/Object.cpp
@@ -338,13 +338,13 @@ CObject::Init(void)
m_pCurSurface = outEntity;
else
m_pCurSurface = nil;
-#if 0
- if (GetModelIndex() == MI_BODYCAST)
- nBodyCastHealth = 1000;
- else
-#endif
+
if (GetModelIndex() == MI_BUOY)
bTouchingWater = true;
+
+ // TODO(Miami): Second flag set initialization
+
+ m_area = AREA_EVERYWHERE;
}
bool