summaryrefslogtreecommitdiffstats
path: root/src/rw/VisibilityPlugins.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-21 21:26:32 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-25 10:54:41 +0100
commita50244dc16085a49f4949cf75f6220320480cebd (patch)
tree34a022c699eed9c8651ddbe8391c985753e46b2b /src/rw/VisibilityPlugins.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-a50244dc16085a49f4949cf75f6220320480cebd.tar
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.gz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.bz2
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.lz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.xz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.zst
re3-a50244dc16085a49f4949cf75f6220320480cebd.zip
Diffstat (limited to '')
-rw-r--r--src/rw/VisibilityPlugins.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp
index aa4bdcc0..83c3c5bc 100644
--- a/src/rw/VisibilityPlugins.cpp
+++ b/src/rw/VisibilityPlugins.cpp
@@ -872,12 +872,12 @@ CVisibilityPlugins::FrameCopyConstructor(void *dst, const void *src, int32, int3
}
void
-CVisibilityPlugins::SetFrameHierarchyId(RwFrame *frame, uintptr id)
+CVisibilityPlugins::SetFrameHierarchyId(RwFrame *frame, intptr id)
{
FRAMEEXT(frame)->id = id;
}
-uintptr
+intptr
CVisibilityPlugins::GetFrameHierarchyId(RwFrame *frame)
{
return FRAMEEXT(frame)->id;
@@ -914,7 +914,7 @@ void
CVisibilityPlugins::SetClumpModelInfo(RpClump *clump, CClumpModelInfo *modelInfo)
{
CVehicleModelInfo *vmi;
- SetFrameHierarchyId(RpClumpGetFrame(clump), (uintptr)modelInfo);
+ SetFrameHierarchyId(RpClumpGetFrame(clump), (intptr)modelInfo);
// Unused
switch (modelInfo->GetModelType()) {