[Orxonox-commit 1138] r5859 - code/branches/core5/src/orxonox/gametypes

landauf at orxonox.net landauf at orxonox.net
Fri Oct 2 19:35:52 CEST 2009


Author: landauf
Date: 2009-10-02 19:35:52 +0200 (Fri, 02 Oct 2009)
New Revision: 5859

Modified:
   code/branches/core5/src/orxonox/gametypes/TeamDeathmatch.cc
Log:
fixed a small bug in TeamDeathmatch

Modified: code/branches/core5/src/orxonox/gametypes/TeamDeathmatch.cc
===================================================================
--- code/branches/core5/src/orxonox/gametypes/TeamDeathmatch.cc	2009-10-02 09:41:00 UTC (rev 5858)
+++ code/branches/core5/src/orxonox/gametypes/TeamDeathmatch.cc	2009-10-02 17:35:52 UTC (rev 5859)
@@ -92,7 +92,7 @@
         bool valid_player = Deathmatch::playerLeft(player);
 
         if (valid_player)
-            this->players_.erase(player);
+            this->teamnumbers_.erase(player);
 
         return valid_player;
     }




More information about the Orxonox-commit mailing list