From: Ryan Flegel Date: Sat, 29 May 2004 00:38:15 +0000 (+0000) Subject: - fixed level editor crash (a hack) X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5dba61177d71c5572fd29af172fcdab7b1f9a561;p=supertux.git - fixed level editor crash (a hack) SVN-Revision: 1359 --- 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)