Fix bug #15391 (Warnings in multiplayer games).

This commit is contained in:
Jörg Hinrichs 2010-02-18 23:10:55 +00:00
parent e7eb19613b
commit 96d8ae3af9
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,8 @@ Version 1.7.13+svn:
campaigns
* Fixed bug 14754: Host can start game before the client has selected a
leader (Debian bug #555964)
* Fix bug #15382 (Player doesn't get transported to the next scenario)
* Fix bug #15391 (Warnings in multiplayer games)
Version 1.7.13-1.8beta6:
* AI:

View file

@ -252,6 +252,8 @@ void unit_creator::add_unit(const config &cfg)
temp_cfg.remove_attribute("x");
temp_cfg.remove_attribute("y");
temp_cfg.remove_attribute("placement");
temp_cfg.remove_attribute("player_id");
temp_cfg.remove_attribute("faction_from_recruit");
const std::string& id =(cfg)["id"];