diff --git a/code/SceneCombiner.cpp b/code/SceneCombiner.cpp index 1027b9d22..b56e2e601 100644 --- a/code/SceneCombiner.cpp +++ b/code/SceneCombiner.cpp @@ -1128,10 +1128,11 @@ void SceneCombiner::Copy (aiTexture** _dest, const aiTexture* src) } // ------------------------------------------------------------------------------------------------ -void SceneCombiner::Copy (aiAnimation** _dest, const aiAnimation* src) +void SceneCombiner::Copy( aiAnimation** _dest, const aiAnimation* src ) { - ai_assert(NULL != _dest && NULL != src); - + ai_assert( NULL != _dest ); + ai_assert( NULL != src ); + aiAnimation* dest = *_dest = new aiAnimation(); // get a flat copy