Removed unused function unit::team_rgb.

This commit is contained in:
Guillaume Melquiond 2009-08-15 14:20:23 +00:00
parent 258342d55d
commit 30e688bf4b
2 changed files with 0 additions and 3 deletions

View file

@ -874,8 +874,6 @@ SDL_Colour unit::xp_color() const
std::string unit::side_id() const {return teams_manager::get_teams()[side()-1].save_id(); }
Uint32 unit::team_rgb() const { return(team::get_side_rgb(side())); }
void unit::set_movement(int moves)
{
hold_position_ = false;

View file

@ -124,7 +124,6 @@ public:
bool unrenamable() const { return unrenamable_; }
int side() const { return side_; }
std::string side_id() const;
Uint32 team_rgb() const;
const std::string& team_color() const { return flag_rgb_; }
unit_race::GENDER gender() const { return gender_; }
void set_side(unsigned int new_side) { side_ = new_side; }