diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 12:26:37 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 12:26:37 +0300 |
commit | bb14d9689fbd28ea2b8e340472e3e593e4b84c1e (patch) | |
tree | 8f30747dab46c7ccf3ade06946aab1956664e798 /src/entities | |
parent | 2be2899034a5eb0001b3fb89ea29c7c5480f1fbc (diff) | |
parent | 05bba732253564b630bab6580b27d2ee93d2411e (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/Entity.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 756e1232..ee4faa82 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -285,28 +285,6 @@ CEntity::CreateRwObject(void) } } -#ifdef PED_SKIN -RpAtomic* -AtomicRemoveAnimFromSkinCB(RpAtomic *atomic, void *data) -{ - if(RpSkinGeometryGetSkin(RpAtomicGetGeometry(atomic))){ - RpHAnimHierarchy *hier = RpSkinAtomicGetHAnimHierarchy(atomic); -#ifdef LIBRW - if(hier && hier->interpolator->currentAnim){ - RpHAnimAnimationDestroy(hier->interpolator->currentAnim); - hier->interpolator->currentAnim = nil; - } -#else - if(hier && hier->pCurrentAnim){ - RpHAnimAnimationDestroy(hier->pCurrentAnim); - hier->pCurrentAnim = nil; - } -#endif - } - return atomic; -} -#endif - void CEntity::DeleteRwObject(void) { |