From: Ricardo Cruz Date: Mon, 26 Apr 2004 14:24:06 +0000 (+0000) Subject: Removed (just commented) the clear screen code before the level starts. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=baccb3aff05646c3313a4bfad876e0a64f4c9223;p=supertux.git Removed (just commented) the clear screen code before the level starts. It looks bad when the intro info is gradient and then it displays a black screen and then the level. SVN-Revision: 750 --- diff --git a/src/gameloop.cpp b/src/gameloop.cpp index 45da68bf1..0d3eb0b07 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -157,7 +157,7 @@ GameSession::levelintro(void) white_text->drawf(str, 0, 224, A_HMIDDLE, A_TOP, 1); sprintf(str, "by %s", world->get_level()->author.c_str()); - white_small_text->drawf(str, 0, 400, A_HMIDDLE, A_TOP, 1); + white_small_text->drawf(str, 0, 360, A_HMIDDLE, A_TOP, 1); flipscreen(); @@ -527,8 +527,8 @@ GameSession::run() update_time = last_update_time = st_get_ticks(); /* Clear screen: */ - clearscreen(0, 0, 0); - updatescreen(); +// clearscreen(0, 0, 0); +// updatescreen(); // Eat unneeded events SDL_Event event;