[Orxonox-commit 2901] r7604 - code/branches/lastmanstanding/src/orxonox/gametypes

jo at orxonox.net jo at orxonox.net
Sun Oct 31 22:47:07 CET 2010


Author: jo
Date: 2010-10-31 22:47:07 +0100 (Sun, 31 Oct 2010)
New Revision: 7604

Modified:
   code/branches/lastmanstanding/src/orxonox/gametypes/Asteroids.cc
Log:
Small Asteroids papercut.

Modified: code/branches/lastmanstanding/src/orxonox/gametypes/Asteroids.cc
===================================================================
--- code/branches/lastmanstanding/src/orxonox/gametypes/Asteroids.cc	2010-10-31 19:47:46 UTC (rev 7603)
+++ code/branches/lastmanstanding/src/orxonox/gametypes/Asteroids.cc	2010-10-31 21:47:07 UTC (rev 7604)
@@ -40,6 +40,7 @@
     {
         RegisterObject(Asteroids);
         this->firstCheckpointReached_ = false;
+        this->numberOfBots_=0; //sets number of default bots temporarly to 0
     }
 
     void Asteroids::tick(float dt)
@@ -74,6 +75,7 @@
         std::string message("The match has started! Reach the first chekpoint within 15 seconds! But be aware, there may be pirates around...");
         COUT(0) << message << std::endl;
         Host::Broadcast(message);
+
     }
 
     void Asteroids::end()




More information about the Orxonox-commit mailing list