Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9048


Ignore:
Timestamp:
Mar 21, 2012, 8:06:06 AM (13 years ago)
Author:
dafrick
Message:

Resolving a warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gametypes/TeamGametype.cc

    r9016 r9048  
    318318    void TeamGametype::colourPawn(Pawn* pawn, int teamNr)
    319319    {// 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;
    321321        pawn->setRadarObjectColour(this->teamcolours_[teamNr]);
    322322
Note: See TracChangeset for help on using the changeset viewer.