pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r3611 - trunk/pingus/src


From: grumbel at BerliOS
Subject: [Pingus-CVS] r3611 - trunk/pingus/src
Date: Tue, 1 Jul 2008 05:40:31 +0200

Author: grumbel
Date: 2008-07-01 05:40:29 +0200 (Tue, 01 Jul 2008)
New Revision: 3611

Modified:
   trunk/pingus/src/demo_session.cpp
   trunk/pingus/src/server_event.cpp
Log:
Indention fix and improved error msg

Modified: trunk/pingus/src/demo_session.cpp
===================================================================
--- trunk/pingus/src/demo_session.cpp   2008-07-01 02:49:21 UTC (rev 3610)
+++ trunk/pingus/src/demo_session.cpp   2008-07-01 03:40:29 UTC (rev 3611)
@@ -81,25 +81,25 @@
     }
   else
     {
-  // FIXME: Duplicate all timing code here?!
+      // FIXME: Duplicate all timing code here?!
 
       if (!pause)
-    {
-      if (fast_forward)
         {
-          for (int i = 0; i < 4; ++i)
+          if (fast_forward)
             {
+              for (int i = 0; i < 4; ++i)
+                {
+                  server->update();
+                  update_demo();
+                }
+            }
+          else
+            {
               server->update();
               update_demo();
             }
         }
-      else
-        {
-          server->update();
-          update_demo();
-        }
     }
-    }
 }
 
 void

Modified: trunk/pingus/src/server_event.cpp
===================================================================
--- trunk/pingus/src/server_event.cpp   2008-07-01 02:49:21 UTC (rev 3610)
+++ trunk/pingus/src/server_event.cpp   2008-07-01 03:40:29 UTC (rev 3611)
@@ -137,7 +137,7 @@
          }
        else
          {
-           std::cout << "ServerEvent: DemoFile inconsistent with world" << 
std::endl;
+           std::cout << "ServerEvent: DemoFile inconsistent with world, pingu 
" << pingu_id << " missing" << std::endl;
          }
       }
       break;





reply via email to

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