From c4a46650d7416b63a6fdcb4b2791839d15ca73d6 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 23 Oct 2008 17:49:34 +0000 Subject: Fixed a crash that I caused earlier when I was fixing compiler warnings. Caused by adding a new destructor. --- src/text.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/text.cpp') diff --git a/src/text.cpp b/src/text.cpp index 7967b56f..545c1c0e 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -100,14 +100,3 @@ void FlashText::draw(Graphics *graphics, int xOff, int yOff) } Text::draw(graphics, xOff, yOff); } - -FlashText::~FlashText() -{ - mTime = 0; - textManager->removeText(this); - if (--mInstances == 0) - { - delete textManager; - textManager = 0; - } -} -- cgit v1.2.3-70-g09d2