Removed unused function mp::connect::side::is_owned_by.

This commit is contained in:
Guillaume Melquiond 2009-12-06 09:56:10 +00:00
parent 79882e4025
commit ab41cfbb5d
2 changed files with 0 additions and 6 deletions

View File

@ -376,11 +376,6 @@ void connect::side::add_widgets_to_scrollpane(gui::scrollpane& pane, int pos)
pane.add_widget(&label_income_, 475 + slider_gold_.width(), 35 + pos);
}
bool connect::side::is_owned_by(const std::string& name) const
{
return name == id_;
}
void connect::side::process_event()
{
int drop_target;

View File

@ -95,7 +95,6 @@ public:
{ return current_player_; }
const std::string& get_id() const;
bool is_owned_by(const std::string& name) const;
/** Sets the username of this side. */
void set_id(const std::string& id);