From a059bc69bbccea3fe7539f4d55466429fae58a51 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Tue, 10 Feb 2009 15:35:17 +0100 Subject: Removed crash introduced by Aethyra. --- src/map.cpp | 5 ----- src/map.h | 1 - 2 files changed, 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)); } -- cgit v1.2.3-70-g09d2