diff options
Diffstat (limited to 'src/action.cpp')
-rw-r--r-- | src/action.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/action.cpp b/src/action.cpp index 4abfa229..4a5a941a 100644 --- a/src/action.cpp +++ b/src/action.cpp @@ -29,15 +29,14 @@ #include "utils/dtor.h" -Action::Action(): - mSpriteset(NULL) +Action::Action() { } Action::~Action() { - std::for_each(mAnimations.begin(), mAnimations.end(), make_dtor(mAnimations)); - mAnimations.clear(); + std::for_each(mAnimations.begin(), mAnimations.end(), + make_dtor(mAnimations)); } Animation* |