diff options
| author | Sergeanur <s.anureev@yandex.ua> | 2020-12-29 13:55:15 +0200 |
|---|---|---|
| committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-29 13:55:15 +0200 |
| commit | f75460fc1d83f82b088aaf69d6fba869fc1569f5 (patch) | |
| tree | ae2bde9908a773eef046c10f8635129dac7b1c2a /src/rw/RwHelper.cpp | |
| parent | Merge pull request #904 from Sergeanur/bvf (diff) | |
| download | re3-f75460fc1d83f82b088aaf69d6fba869fc1569f5.tar.gz | |
Reorder CEntity functions into their original order
Diffstat (limited to 'src/rw/RwHelper.cpp')
| -rw-r--r-- | src/rw/RwHelper.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp index e0133985..4ee3a0b3 100644 --- a/src/rw/RwHelper.cpp +++ b/src/rw/RwHelper.cpp @@ -324,26 +324,6 @@ HAnimAnimationCreateForHierarchy(RpHAnimHierarchy *hier) return anim; } -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; -} - void RenderSkeleton(RpHAnimHierarchy *hier) { |
