- Timestamp:
- Apr 6, 2009, 4:25:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/gametypes/TeamDeathmatch.cc
r2826 r2902 189 189 return false; 190 190 } 191 192 int TeamDeathmatch::getTeam(PlayerInfo* player) 193 { 194 std::map<PlayerInfo*, int>::const_iterator it_player = this->teamnumbers_.find(player); 195 if (it_player != this->teamnumbers_.end()) 196 return it_player->second; 197 else 198 return -1; 199 } 191 200 }
Note: See TracChangeset
for help on using the changeset viewer.