diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-07-12 00:07:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 00:07:32 +0200 |
commit | 02e84b4b978b2d17ae9a52ae95b2617902c94150 (patch) | |
tree | 6721fa10727d0fb7221e0c7131a78c56b5a47df2 /src/peds/PlayerPed.cpp | |
parent | Add PED DENSITY and CAR DENSITY lines to GXT (diff) | |
parent | finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES (diff) | |
download | re3-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.cpp | 6 |
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 |