hiding the time while end_sequence wasn't nice
authorMatthias Braun <matze@braunis.de>
Mon, 3 May 2004 13:00:35 +0000 (13:00 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 3 May 2004 13:00:35 +0000 (13:00 +0000)
SVN-Revision: 943

src/gameloop.cpp

index 252c69b..a44cd8e 100644 (file)
@@ -672,14 +672,12 @@ GameSession::drawstatus()
       white_text->draw("Press ESC To Return",0,20,1);
     }
 
-  if(!end_sequence) {
-    if(!time_left.check()) {
-      white_text->draw("TIME'S UP", 224, 0, 1);
-    } else if (time_left.get_left() > TIME_WARNING || (global_frame_counter % 10) < 5) {
-      sprintf(str, "%d", time_left.get_left() / 1000 );
-      white_text->draw("TIME", 224, 0, 1);
-      gold_text->draw(str, 304, 0, 1);
-    }
+  if(!time_left.check()) {
+    white_text->draw("TIME'S UP", 224, 0, 1);
+  } else if (time_left.get_left() > TIME_WARNING || (global_frame_counter % 10) < 5) {
+    sprintf(str, "%d", time_left.get_left() / 1000 );
+    white_text->draw("TIME", 224, 0, 1);
+    gold_text->draw(str, 304, 0, 1);
   }
 
   sprintf(str, "%d", player_status.distros);