diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-10 06:46:03 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-10 06:46:03 +0000 |
commit | f6265cedd655a6dcb0467b48d08e0722e5d697e3 (patch) | |
tree | 8194db743f8c7e99e8af711e73c6e403eab4ca7e | |
parent | b4d134183ff7c488e629f6c773e646678a903f35 (diff) | |
download | mana-client-f6265cedd655a6dcb0467b48d08e0722e5d697e3.tar.gz mana-client-f6265cedd655a6dcb0467b48d08e0722e5d697e3.tar.bz2 mana-client-f6265cedd655a6dcb0467b48d08e0722e5d697e3.tar.xz mana-client-f6265cedd655a6dcb0467b48d08e0722e5d697e3.zip |
Fix segfault when leaving maps with animated tiles
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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() |