Changeset 2839 for code/trunk/src/orxonox/objects/gametypes/Gametype.cc
- Timestamp:
- Mar 25, 2009, 3:26:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/gametypes/Gametype.cc
r2826 r2839 200 200 // Reward killer 201 201 if (killer) 202 this->playerScored(killer->getPlayer()); 202 { 203 std::map<PlayerInfo*, Player>::iterator it = this->players_.find(killer->getPlayer()); 204 if (it != this->players_.end()) 205 it->second.frags_++; 206 } 203 207 204 208 ControllableEntity* entity = this->defaultControllableEntity_.fabricate(victim->getCreator()); … … 348 352 { 349 353 for (unsigned int i = 0; i < amount; ++i) 350 new Bot(this);354 this->botclass_.fabricate(this); 351 355 } 352 356
Note: See TracChangeset
for help on using the changeset viewer.