mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-31 10:21:45 +02:00
tiny cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user