summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-09 20:35:04 +0200
committerGitHub <noreply@github.com>2020-04-09 20:35:04 +0200
commitd8cf6258b71dc09452b65f7d83dbd5a221fa54c4 (patch)
tree8023dc2be8d67f430a5788bd850d287058f0cd8a /src/peds/Ped.cpp
parentCStats finished (diff)
parentfixed questionable RW usage; changed radar mask to PS2 techinque (diff)
downloadre3-d8cf6258b71dc09452b65f7d83dbd5a221fa54c4.tar
re3-d8cf6258b71dc09452b65f7d83dbd5a221fa54c4.tar.gz
re3-d8cf6258b71dc09452b65f7d83dbd5a221fa54c4.tar.bz2
re3-d8cf6258b71dc09452b65f7d83dbd5a221fa54c4.tar.lz
re3-d8cf6258b71dc09452b65f7d83dbd5a221fa54c4.tar.xz
re3-d8cf6258b71dc09452b65f7d83dbd5a221fa54c4.tar.zst
re3-d8cf6258b71dc09452b65f7d83dbd5a221fa54c4.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp4
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;
}