Connect Engine: make team_ unsigned since it's never less than 0
Should fix Travis build.
This commit is contained in:
parent
77a06e2812
commit
22087f47d3
1 changed files with 3 additions and 3 deletions
|
@ -201,8 +201,8 @@ public:
|
|||
{ return current_controller_index_; }
|
||||
int index() const { return index_; }
|
||||
void set_index(int index) { index_ = index; }
|
||||
int team() const { return team_; }
|
||||
void set_team(int team) { team_ = team; }
|
||||
unsigned team() const { return team_; }
|
||||
void set_team(unsigned team) { team_ = team; }
|
||||
std::vector<std::string> get_children_to_swap();
|
||||
std::multimap<std::string, config> get_side_children();
|
||||
void set_side_children(std::multimap<std::string, config> children);
|
||||
|
@ -257,7 +257,7 @@ private:
|
|||
const bool controller_lock_;
|
||||
|
||||
int index_;
|
||||
int team_;
|
||||
unsigned team_;
|
||||
int color_;
|
||||
int gold_;
|
||||
int income_;
|
||||
|
|
Loading…
Add table
Reference in a new issue