Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26916/src
Modified Files:
intro.cpp
Log Message:
Only use the fade() on the debug mode.
Is anyone willing to check this fading code to see what's wrong with it?
Index: intro.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/intro.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- intro.cpp 1 May 2004 10:59:52 -0000 1.20
+++ intro.cpp 2 May 2004 14:56:04 -0000 1.21
@@ -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);
}
|