Changeset 7023 for code/branches/presentation3/src/orxonox
- Timestamp:
- May 30, 2010, 4:36:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/gametypes/TeamDeathmatch.cc
r6935 r7023 159 159 if(!(*it)->isActive()) 160 160 { 161 COUT(1) << (*it)->getName() << " is inactive." << std::endl;162 161 teamSpawnPoints.erase(it++); 163 162 continue; 164 163 } 165 COUT(1) << (*it)->getName() << " is active." << std::endl;166 164 167 165 ++it; 168 166 } 169 170 COUT(1) << "MUP " << teamSpawnPoints.size() << std::endl;171 167 172 168 randomspawn = static_cast<unsigned int>(rnd(static_cast<float>(teamSpawnPoints.size())));
Note: See TracChangeset
for help on using the changeset viewer.