summaryrefslogtreecommitdiff
path: root/src
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
parent841fa5155c17b6edf4774deaa311a4e5935be4d6 (diff)
tiny cleanup
Diffstat (limited to 'src')
-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;
}