[Super-tux-commit] supertux/src gameloop.cpp,1.119,1.120
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-05-03 13:00:46
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16969/src Modified Files: gameloop.cpp Log Message: hiding the time while end_sequence wasn't nice Index: gameloop.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v retrieving revision 1.119 retrieving revision 1.120 diff -u -d -r1.119 -r1.120 --- gameloop.cpp 3 May 2004 12:39:19 -0000 1.119 +++ gameloop.cpp 3 May 2004 13:00:35 -0000 1.120 @@ -672,14 +672,12 @@ 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); |