TODO update
[supertux.git] / src / gameloop.cpp
index 004e3db..89776b0 100644 (file)
@@ -198,9 +198,10 @@ GameSession::levelintro(void)
   context.draw_text(white_text, str, Vector(screen->w/2, 210),
       CENTER_ALLIGN, LAYER_FOREGROUND1);
 
-  if(level->get_author().size())
+  if((level->get_author().size()) && (level->get_author() != "SuperTux Team"))
+    //TODO make author check case/blank-insensitive
     context.draw_text(white_small_text,
-      std::string(_("by ")) + level->get_author(), 
+      std::string(_("contributed by ")) + level->get_author(), 
       Vector(screen->w/2, 350), CENTER_ALLIGN, LAYER_FOREGROUND1);
 
 
@@ -722,9 +723,10 @@ GameSession::run()
     float elapsed_time = float(ticks - lastticks) / 1000.;
     global_time += elapsed_time;
     lastticks = ticks;
+
     // 40fps is minimum
-    if(elapsed_time > .05)
-      elapsed_time = .05;
+    if(elapsed_time > .025)
+      elapsed_time = .025;
     
     /* Handle events: */
     currentsector->player->input.old_fire = currentsector->player->input.fire;