Changeset 9048 for code/trunk/src/orxonox
- Timestamp:
- Mar 21, 2012, 8:06:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gametypes/TeamGametype.cc
r9016 r9048 318 318 void TeamGametype::colourPawn(Pawn* pawn, int teamNr) 319 319 {// catch: no-colouring-case and wrong input 320 if(teamNr < 0 || teamNr+1 > this->teamcolours_.size() ||pawn == NULL) return;320 if(teamNr < 0 || teamNr+1 > int(this->teamcolours_.size()) ||pawn == NULL) return; 321 321 pawn->setRadarObjectColour(this->teamcolours_[teamNr]); 322 322
Note: See TracChangeset
for help on using the changeset viewer.