summaryrefslogtreecommitdiffstats
path: root/src/peds/PlayerPed.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-12 00:07:32 +0200
committerGitHub <noreply@github.com>2021-07-12 00:07:32 +0200
commit02e84b4b978b2d17ae9a52ae95b2617902c94150 (patch)
tree6721fa10727d0fb7221e0c7131a78c56b5a47df2 /src/peds/PlayerPed.cpp
parentAdd PED DENSITY and CAR DENSITY lines to GXT (diff)
parentfinish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES (diff)
downloadre3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.gz
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.bz2
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.lz
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.xz
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.zst
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.zip
Diffstat (limited to 'src/peds/PlayerPed.cpp')
-rw-r--r--src/peds/PlayerPed.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp
index 9f75b155..8225189f 100644
--- a/src/peds/PlayerPed.cpp
+++ b/src/peds/PlayerPed.cpp
@@ -2188,14 +2188,14 @@ void
CPlayerPed::Save(uint8*& buf)
{
CPed::Save(buf);
- SkipSaveBuf(buf, 16);
+ ZeroSaveBuf(buf, 16);
CopyToBuf(buf, m_fMaxStamina);
- SkipSaveBuf(buf, 28);
+ ZeroSaveBuf(buf, 28);
CopyToBuf(buf, m_nTargettableObjects[0]);
CopyToBuf(buf, m_nTargettableObjects[1]);
CopyToBuf(buf, m_nTargettableObjects[2]);
CopyToBuf(buf, m_nTargettableObjects[3]);
- SkipSaveBuf(buf, 164);
+ ZeroSaveBuf(buf, 164);
}
void