From f6265cedd655a6dcb0467b48d08e0722e5d697e3 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 10 Feb 2009 06:46:03 +0000 Subject: Fix segfault when leaving maps with animated tiles --- src/map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map.cpp b/src/map.cpp index b6ccad3b..da097504 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -70,7 +70,8 @@ TileAnimation::TileAnimation(Animation *ani): TileAnimation::~TileAnimation() { - delete mLastImage; +// TODO: fix or remove this +// delete mLastImage; } void TileAnimation::update() -- cgit v1.2.3-70-g09d2