[Orxonox-commit 4007] r8681 - code/branches/presentation/src/orxonox/infos

dafrick at orxonox.net dafrick at orxonox.net
Mon May 30 09:58:20 CEST 2011


Author: dafrick
Date: 2011-05-30 09:58:19 +0200 (Mon, 30 May 2011)
New Revision: 8681

Modified:
   code/branches/presentation/src/orxonox/infos/GametypeInfo.cc
Log:
gametypeInfo didn't quite work in Tetris.


Modified: code/branches/presentation/src/orxonox/infos/GametypeInfo.cc
===================================================================
--- code/branches/presentation/src/orxonox/infos/GametypeInfo.cc	2011-05-30 07:55:38 UTC (rev 8680)
+++ code/branches/presentation/src/orxonox/infos/GametypeInfo.cc	2011-05-30 07:58:19 UTC (rev 8681)
@@ -99,7 +99,7 @@
     */
     void GametypeInfo::changedStarted(void)
     {
-        
+        NotificationListener::sendCommand("clear", GametypeInfo::NOTIFICATION_SENDER);
     }
 
     /**
@@ -307,10 +307,8 @@
         if(GameMode::isMaster())
         {
             if(this->hasStarted() && !this->hasEnded())
-            {
-                //NotificationListener::sendCommand("clear", GametypeInfo::NOTIFICATION_SENDER, notificationSendMode::network, player->getClientID());
+
                 this->setSpawnedHelper(player, true);
-            }
         }
     }
 




More information about the Orxonox-commit mailing list