[Orxonox-commit 770] r3297 - trunk/src/orxonox

landauf at orxonox.net landauf at orxonox.net
Tue Jul 14 16:50:22 CEST 2009


Author: landauf
Date: 2009-07-14 16:50:22 +0200 (Tue, 14 Jul 2009)
New Revision: 3297

Modified:
   trunk/src/orxonox/PlayerManager.cc
Log:
fixed ticket #318 ("client connected" message now only appears for clients and not for the server)

Modified: trunk/src/orxonox/PlayerManager.cc
===================================================================
--- trunk/src/orxonox/PlayerManager.cc	2009-07-14 14:46:16 UTC (rev 3296)
+++ trunk/src/orxonox/PlayerManager.cc	2009-07-14 14:50:22 UTC (rev 3297)
@@ -58,7 +58,8 @@
     {
         if (GameMode::isMaster())
         {
-            COUT(3) << "client connected" << std::endl;
+            if (clientID != 0)
+                COUT(3) << "client connected" << std::endl;
 
             // create new HumanPlayer instance
             HumanPlayer* player = new HumanPlayer(0);




More information about the Orxonox-commit mailing list