summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-07 17:34:02 +0200
committerwithmorten <morten.with@gmail.com>2021-07-10 02:06:43 +0200
commit6f103a3b8246ed4a883abaea63c6682cdefc6752 (patch)
tree0a647e32813ec2990b3b3ecc647acfc8bb26c8dc /src/entities
parentUse CPad functions to check key states in script loader (diff)
downloadre3-6f103a3b8246ed4a883abaea63c6682cdefc6752.tar
re3-6f103a3b8246ed4a883abaea63c6682cdefc6752.tar.gz
re3-6f103a3b8246ed4a883abaea63c6682cdefc6752.tar.bz2
re3-6f103a3b8246ed4a883abaea63c6682cdefc6752.tar.lz
re3-6f103a3b8246ed4a883abaea63c6682cdefc6752.tar.xz
re3-6f103a3b8246ed4a883abaea63c6682cdefc6752.tar.zst
re3-6f103a3b8246ed4a883abaea63c6682cdefc6752.zip
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 8d51cae7..b2fcfbc7 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -824,7 +824,7 @@ CEntity::SaveEntityFlags(uint8*& buf)
if (bStreamingDontDelete) tmp |= BIT(30);
if (bRemoveFromWorld) tmp |= BIT(31);
- WriteSaveBuf<uint32>(buf, tmp);
+ WriteSaveBuf(buf, tmp);
tmp = 0;
@@ -845,7 +845,7 @@ CEntity::SaveEntityFlags(uint8*& buf)
if (bUnderwater) tmp |= BIT(13);
if (bHasPreRenderEffects) tmp |= BIT(14);
- WriteSaveBuf<uint32>(buf, tmp);
+ WriteSaveBuf(buf, tmp);
}
void