diff options
author | withmorten <morten.with@gmail.com> | 2021-07-05 18:07:26 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-07-10 17:30:27 +0200 |
commit | 011aafa0435d2c60dc4e0769ed4c93ed1761e3f6 (patch) | |
tree | 4f6c78844f547651730f82043b28662a9b7239e9 /src/peds/PlayerPed.cpp | |
parent | 71f28c8cf574dd9979c28e8caebc9b64727c0b23 (diff) |
finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES
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 93a403bd..6d6fc714 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -1492,14 +1492,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, 116); + ZeroSaveBuf(buf, 116); } void |