summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-27 22:32:33 +0200
committeraap <aap@papnet.eu>2020-05-31 17:05:59 +0200
commitc1e13177a1bbc6ce17d1ddc14cecc74cb278b853 (patch)
treee28cfc9af27dd1c50cbd1afba1add09f53853c49 /src/entities/Entity.cpp
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar
re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.gz
re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.bz2
re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.lz
re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.xz
re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.zst
re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.zip
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r--src/entities/Entity.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 68486a3c..41a2e2bd 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -81,7 +81,7 @@ CEntity::CEntity(void)
m_flagE2 = false;
bOffscreen = false;
bIsStaticWaitingForCollision = false;
- m_flagE10 = false;
+ bDontStream = false;
bUnderwater = false;
bHasPreRenderEffects = false;
@@ -1083,7 +1083,7 @@ CEntity::SaveEntityFlags(uint8*& buf)
if (m_flagE2) tmp |= BIT(9);
if (bOffscreen) tmp |= BIT(10);
if (bIsStaticWaitingForCollision) tmp |= BIT(11);
- if (m_flagE10) tmp |= BIT(12);
+ if (bDontStream) tmp |= BIT(12);
if (bUnderwater) tmp |= BIT(13);
if (bHasPreRenderEffects) tmp |= BIT(14);
@@ -1139,7 +1139,7 @@ CEntity::LoadEntityFlags(uint8*& buf)
m_flagE2 = !!(tmp & BIT(9));
bOffscreen = !!(tmp & BIT(10));
bIsStaticWaitingForCollision = !!(tmp & BIT(11));
- m_flagE10 = !!(tmp & BIT(12));
+ bDontStream = !!(tmp & BIT(12));
bUnderwater = !!(tmp & BIT(13));
bHasPreRenderEffects = !!(tmp & BIT(14));
}