summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-02-10 15:35:17 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-02-10 15:35:17 +0100
commita059bc69bbccea3fe7539f4d55466429fae58a51 (patch)
tree4cc7e0c68c5413084eb73b8ae42f0b0a9543f49e /src
parent0a6f64d8e708d740c72886989a839edd7e8a2a5f (diff)
downloadmana-a059bc69bbccea3fe7539f4d55466429fae58a51.tar.gz
mana-a059bc69bbccea3fe7539f4d55466429fae58a51.tar.bz2
mana-a059bc69bbccea3fe7539f4d55466429fae58a51.tar.xz
mana-a059bc69bbccea3fe7539f4d55466429fae58a51.zip
Removed crash introduced by Aethyra.
Diffstat (limited to 'src')
-rw-r--r--src/map.cpp5
-rw-r--r--src/map.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/map.cpp b/src/map.cpp
index da097504..b5e815f3 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -68,11 +68,6 @@ TileAnimation::TileAnimation(Animation *ani):
{
}
-TileAnimation::~TileAnimation()
-{
-// TODO: fix or remove this
-// delete mLastImage;
-}
void TileAnimation::update()
{
diff --git a/src/map.h b/src/map.h
index 1423565f..3beab350 100644
--- a/src/map.h
+++ b/src/map.h
@@ -72,7 +72,6 @@ class TileAnimation
{
public:
TileAnimation(Animation *ani);
- ~TileAnimation();
void update();
void addAffectedTile(MapLayer *layer, int index)
{ mAffected.push_back(std::make_pair(layer, index)); }