diff options
Diffstat (limited to 'saga/animation.cpp')
-rw-r--r-- | saga/animation.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/saga/animation.cpp b/saga/animation.cpp index 468fe313f0..50189e09ba 100644 --- a/saga/animation.cpp +++ b/saga/animation.cpp @@ -57,10 +57,8 @@ Anim::Anim(void) { Anim::~Anim(void) { uint16 i; - for (i = 0; i < R_MAX_ANIMATIONS; i++) { - if (_anim_tbl[i]) - free(_anim_tbl[i]); - } + for (i = 0; i < R_MAX_ANIMATIONS; i++) + free(_anim_tbl[i]); _initialized = false; } |