Only use the fade() on the debug mode.
authorRicardo Cruz <rick2@aeiou.pt>
Sun, 2 May 2004 14:56:04 +0000 (14:56 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Sun, 2 May 2004 14:56:04 +0000 (14:56 +0000)
Is anyone willing to check this fading code to see what's wrong with it?

SVN-Revision: 917

src/intro.cpp

index 708770b..70a7b31 100644 (file)
@@ -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);
 }