- fixed menu/logo overdraw problem
authorIngo Ruhnke <grumbel@gmx.de>
Sat, 10 Apr 2004 11:48:16 +0000 (11:48 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Sat, 10 Apr 2004 11:48:16 +0000 (11:48 +0000)
SVN-Revision: 442

src/title.cpp

index 3687baf..da8cdfa 100644 (file)
@@ -217,7 +217,10 @@ int title(void)
       /* Draw the background: */
       draw_background();
       draw_demo();
-      texture_draw(&logo, 160, 30);
+
+      if (current_menu == main_menu)
+        texture_draw(&logo, 160, 30);
+
       text_draw(&white_small_text, 
                 " SuperTux " VERSION "\n"
                 "Copyright (c) 2003 SuperTux Devel Team\n"