diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 20:17:00 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 20:17:00 +0200 |
commit | be260b49b1e5421a96f78ae2f0512220d5805274 (patch) | |
tree | 16f21f6f45c749120e3853a4369fe39348344102 /src/peds/Ped.cpp | |
parent | record init (diff) | |
parent | disabling the code that freezes gang members (diff) | |
download | re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.gz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.bz2 re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.lz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.xz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.zst re3-be260b49b1e5421a96f78ae2f0512220d5805274.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 54816b1c..2cd942f9 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -676,7 +676,7 @@ RemoveAllModelCB(RwObject *object, void *data) { RpAtomic *atomic = (RpAtomic*)object; if (CVisibilityPlugins::GetAtomicModelInfo(atomic)) { - RpClumpRemoveAtomic(atomic->clump, atomic); + RpClumpRemoveAtomic(RpAtomicGetClump(atomic), atomic); RpAtomicDestroy(atomic); } return object; @@ -902,7 +902,7 @@ static RwObject* SetPedAtomicVisibilityCB(RwObject* object, void* data) { if (data == nil) - RpAtomicSetFlags(object, 0); + RpAtomicSetFlags((RpAtomic*)object, 0); return object; } |