From: Ingo Ruhnke Date: Sun, 2 May 2004 22:44:56 +0000 (+0000) Subject: - -Wall fixing X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1af171900ae8cae790eabcea69514a8c44d9d889;p=supertux.git - -Wall fixing - removed level editor from menu, since it crashes on settings and is thus not useable in release SVN-Revision: 933 --- diff --git a/src/leveleditor.cpp b/src/leveleditor.cpp index 647155c8a..031ff4c81 100644 --- a/src/leveleditor.cpp +++ b/src/leveleditor.cpp @@ -784,8 +784,9 @@ void le_drawinterface() if(TileManager::instance()->get(le_current.tile)->editor_images.size() > 0) TileManager::instance()->get(le_current.tile)->editor_images[0]->draw( 19 * 32, 14 * 32); } - if(le_current.IsObject()) - printf(""); + + //if(le_current.IsObject()) + //printf(""); if(le_current_level != NULL) { diff --git a/src/setup.cpp b/src/setup.cpp index 59982d5a8..cf5a09eb3 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -382,7 +382,7 @@ void st_menu(void) main_menu->additem(MN_GOTO, "Start Game",0,load_game_menu, MNID_STARTGAME); main_menu->additem(MN_GOTO, "Contrib Levels",0,contrib_menu, MNID_CONTRIB); main_menu->additem(MN_GOTO, "Options",0,options_menu, MNID_OPTIONMENU); - main_menu->additem(MN_ACTION,"Level editor",0,0, MNID_LEVELEDITOR); + //main_menu->additem(MN_ACTION,"Level Editor",0,0, MNID_LEVELEDITOR); main_menu->additem(MN_ACTION,"Credits",0,0, MNID_CREDITS); main_menu->additem(MN_ACTION,"Quit",0,0, MNID_QUITMAINMENU);