- Timestamp:
- Dec 17, 2011, 11:49:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2011/src/orxonox/gametypes/TeamGametype.cc
r8980 r8995 311 311 void TeamGametype::colourPawn(Pawn* pawn, int teamNr) 312 312 {// catch no-colouring-case and wrong input 313 if(teamNr < 0 || pawn == NULL) return;313 if(teamNr < 0 || teamNr+1 > this->teamcolours_.size() ||pawn == NULL) return; 314 314 pawn->setRadarObjectColour(this->teamcolours_[teamNr]); 315 315
Note: See TracChangeset
for help on using the changeset viewer.