summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-12 03:13:22 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-12 03:13:22 +0200
commit55d30a11ec04200091db0e29a44ceec6522fedfb (patch)
treeb8a5bdbd323615ae8ea250174e8f22b7e9ab5f18 /src/peds/Ped.cpp
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
parentReorganize config.h (diff)
downloadre3-55d30a11ec04200091db0e29a44ceec6522fedfb.tar
re3-55d30a11ec04200091db0e29a44ceec6522fedfb.tar.gz
re3-55d30a11ec04200091db0e29a44ceec6522fedfb.tar.bz2
re3-55d30a11ec04200091db0e29a44ceec6522fedfb.tar.lz
re3-55d30a11ec04200091db0e29a44ceec6522fedfb.tar.xz
re3-55d30a11ec04200091db0e29a44ceec6522fedfb.tar.zst
re3-55d30a11ec04200091db0e29a44ceec6522fedfb.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 4f695e3a..8729ce26 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -10136,19 +10136,19 @@ CPed::UnloadNonStandardPedAnim(eWaitState waitState)
void
CPed::Save(uint8*& buf)
{
- SkipSaveBuf(buf, 52);
+ ZeroSaveBuf(buf, 52);
CopyToBuf(buf, GetPosition().x);
CopyToBuf(buf, GetPosition().y);
CopyToBuf(buf, GetPosition().z);
- SkipSaveBuf(buf, 288);
+ ZeroSaveBuf(buf, 288);
CopyToBuf(buf, CharCreatedBy);
- SkipSaveBuf(buf, 499);
+ ZeroSaveBuf(buf, 499);
CopyToBuf(buf, m_fHealth);
CopyToBuf(buf, m_fArmour);
- SkipSaveBuf(buf, 172);
+ ZeroSaveBuf(buf, 172);
for (int i = 0; i < 10; i++) // has to be hardcoded
m_weapons[i].Save(buf);
- SkipSaveBuf(buf, 252);
+ ZeroSaveBuf(buf, 252);
}
void