pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.20,1.21 time_displ


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.20,1.21 time_display.cxx,1.8,1.9
Date: 8 Oct 2002 18:18:23 -0000

Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv20466

Modified Files:
        game_session.cxx time_display.cxx 
Log Message:
some more fixes to the timing code

Index: game_session.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/game_session.cxx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- game_session.cxx    8 Oct 2002 18:06:25 -0000       1.20
+++ game_session.cxx    8 Oct 2002 18:18:21 -0000       1.21
@@ -83,12 +83,6 @@
 void
 PingusGameSession::update (const GameDelta& delta)
 {
-  if (number_of_updates == 0)
-    {
-      last_redraw = CL_System::get_time();
-      last_update = CL_System::get_time();
-    }
-
   if (server->is_finished())
     {
       ScreenManager::instance()->pop_screen();

Index: time_display.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/time_display.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- time_display.cxx    4 Oct 2002 16:54:04 -0000       1.8
+++ time_display.cxx    8 Oct 2002 18:18:21 -0000       1.9
@@ -40,7 +40,7 @@
   int  time_value = server->get_plf()->get_time() - 
server->get_world()->get_time_passed();
   char time_string[8];
   
-  if (time_value == -1 && !(pingus_debug_flags & PINGUS_DEBUG_GAMETIME))
+  if (server->get_plf()->get_time() == -1 && !(pingus_debug_flags & 
PINGUS_DEBUG_GAMETIME))
     {
       snprintf(time_string, 8, "00");
     }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]