From 5dba61177d71c5572fd29af172fcdab7b1f9a561 Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Sat, 29 May 2004 00:38:15 +0000 Subject: [PATCH] - fixed level editor crash (a hack) SVN-Revision: 1359 --- src/button.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/button.cpp b/src/button.cpp index 27697c902..3c1d08327 100644 --- a/src/button.cpp +++ b/src/button.cpp @@ -116,7 +116,9 @@ Button::~Button() for(std::vector::iterator it = icon.begin(); it != icon.end(); ++it) delete (*it); icon.clear(); - delete drawable; + // FIXME TODO XXX: commenting this out fixes the leveleditor quit crash + // probably should be deleted somehow, though + //delete drawable; } void Button::event(SDL_Event &event) -- 2.11.0