Made the read only get_teams() accessor const.

This commit is contained in:
fendrin 2013-05-06 16:37:24 +02:00
parent 931e1f9f3f
commit 0a6c8c2a1f

View file

@ -64,7 +64,7 @@ public:
bool show_everything() const { return !viewpoint_; }
const std::vector<team>& get_teams() {return *teams_;}
const std::vector<team>& get_teams() const {return *teams_;}
/** The playing team is the team whose turn it is. */
size_t playing_team() const { return activeTeam_; }