summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 17c28180..b6ccad3b 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -68,6 +68,11 @@ TileAnimation::TileAnimation(Animation *ani):
{
}
+TileAnimation::~TileAnimation()
+{
+ delete mLastImage;
+}
+
void TileAnimation::update()
{
//update animation