summaryrefslogtreecommitdiff
path: root/src/animation/AnimBlendHierarchy.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-18 23:47:38 +0100
committeraap <aap@papnet.eu>2020-12-18 23:47:38 +0100
commitdf5bafc80c544382b3def3925e50cf2ad3382a03 (patch)
tree75f3e11e1265aadc0eae2eab10cdf582e1c176fa /src/animation/AnimBlendHierarchy.cpp
parenta080fbfbd41ac8a2bc6cfe053d4fa0932dd8d334 (diff)
anim fixes
Diffstat (limited to 'src/animation/AnimBlendHierarchy.cpp')
-rw-r--r--src/animation/AnimBlendHierarchy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animation/AnimBlendHierarchy.cpp b/src/animation/AnimBlendHierarchy.cpp
index c7800de5..ea669999 100644
--- a/src/animation/AnimBlendHierarchy.cpp
+++ b/src/animation/AnimBlendHierarchy.cpp
@@ -52,8 +52,7 @@ CAnimBlendHierarchy::RemoveQuaternionFlips(void)
void
CAnimBlendHierarchy::RemoveAnimSequences(void)
{
- if(sequences)
- delete[] sequences;
+ delete[] sequences;
numSequences = 0;
}