summaryrefslogtreecommitdiffstats
path: root/src/rw/RwHelper.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-16 13:35:35 +0200
committeraap <aap@papnet.eu>2020-07-16 13:35:35 +0200
commit23da99622c2d2d8acf4edd67de5537f52fc6078e (patch)
tree549349635d7de02c4ffb4029a7406d9265bbb7af /src/rw/RwHelper.cpp
parentRename LEVEL_NONE to LEVEL_GENERIC (diff)
downloadre3-23da99622c2d2d8acf4edd67de5537f52fc6078e.tar
re3-23da99622c2d2d8acf4edd67de5537f52fc6078e.tar.gz
re3-23da99622c2d2d8acf4edd67de5537f52fc6078e.tar.bz2
re3-23da99622c2d2d8acf4edd67de5537f52fc6078e.tar.lz
re3-23da99622c2d2d8acf4edd67de5537f52fc6078e.tar.xz
re3-23da99622c2d2d8acf4edd67de5537f52fc6078e.tar.zst
re3-23da99622c2d2d8acf4edd67de5537f52fc6078e.zip
Diffstat (limited to '')
-rw-r--r--src/rw/RwHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index cd2a1bf6..3503e27d 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -202,7 +202,7 @@ isSkinnedCb(RpAtomic *atomic, void *data)
RpAtomic **pAtomic = (RpAtomic**)data;
if(*pAtomic)
return nil; // already found one
- if(RpSkinGeometryGetSkin(atomic->geometry))
+ if(RpSkinGeometryGetSkin(RpAtomicGetGeometry(atomic)))
*pAtomic = atomic; // we could just return nil here directly...
return atomic;
}