From d5d696274040bc8f0c42724e21a500c56ec12475 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Wed, 31 Dec 2003 06:07:43 +0000 Subject: [PATCH] Fixed parse errors. SVN-Revision: 90 --- src/leveleditor.c | 4 ++-- src/menu.c | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/leveleditor.c b/src/leveleditor.c index 5c15090bf..ee6f73a28 100644 --- a/src/leveleditor.c +++ b/src/leveleditor.c @@ -8,7 +8,7 @@ * * ***************************************************************************/ -/* December 28, 2003 - December 29, 2003 */ +/* December 28, 2003 - December 30, 2003 */ /* leveleditor.c - A built-in level editor for SuperTux by Ricardo Cruz */ @@ -132,6 +132,7 @@ int leveleditor() SDL_Event event; SDLKey key; SDLMod keymod; + int last_time, now_time; strcpy(level_subset,"default"); @@ -141,7 +142,6 @@ int leveleditor() menumenu = MENU_LEVELEDITOR; show_menu = YES; - int last_time, now_time; frame = 0; /* support for frames in some tiles, like waves and bad guys */ loadshared(); diff --git a/src/menu.c b/src/menu.c index 2ac0fe370..6d2042ab3 100644 --- a/src/menu.c +++ b/src/menu.c @@ -7,7 +7,7 @@ tobi.web@gmx.de http://www.newbreedsoftware.com/supertux/ - December 20, 2003 - December 29, 2003 + December 20, 2003 - December 30, 2003 */ #ifdef LINUX @@ -255,8 +255,9 @@ int menu_game(void) drawcenteredtext("Load Game", 256, letters_red, NO_UPDATE, 2); if(menuaction == MN_HIT) /* Don't show the menu anymore, if this item got hit */ { + char *x = NULL; /* In C, you can do this... */ + show_menu = 0; - char *x = NULL; loadgame(x); } } -- 2.11.0