From: Ricardo Cruz Date: Sun, 2 May 2004 14:56:04 +0000 (+0000) Subject: Only use the fade() on the debug mode. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=edaf0ed5b842118173311f52a0ddb200565f8978;p=supertux.git Only use the fade() on the debug mode. Is anyone willing to check this fading code to see what's wrong with it? SVN-Revision: 917 --- diff --git a/src/intro.cpp b/src/intro.cpp index 708770b29..70a7b31c8 100644 --- a/src/intro.cpp +++ b/src/intro.cpp @@ -35,7 +35,8 @@ void draw_intro() { -fade("/images/background/arctis2.jpg", 30, false); +if(debug_mode) + fade("/images/background/arctis2.jpg", 30, false); display_text_file("intro.txt", "/images/background/arctis2.jpg", SCROLL_SPEED_MESSAGE); }