Connect Engine: removed unused receive_from_server function

This commit is contained in:
Charles Dang 2020-12-24 12:27:49 +11:00
parent 8edeb23108
commit 514a4f7ff1
2 changed files with 0 additions and 12 deletions

View file

@ -360,16 +360,6 @@ void connect_engine::send_to_server(const config& cfg) const
}
}
bool connect_engine::receive_from_server(config& dst) const
{
if(campaign_info_) {
return campaign_info_->connection.receive_data(dst);
}
else {
return false;
}
}
std::vector<std::string> side_engine::get_children_to_swap()
{
std::vector<std::string> children;

View file

@ -109,8 +109,6 @@ public:
bool first_scenario() const { return first_scenario_; }
bool force_lock_settings() const { return force_lock_settings_; }
bool receive_from_server(config& dst) const;
const mp_campaign_info* campaign_info() const
{
return campaign_info_;