Fix Bug #15656...

(OOS errors in LoW from differing starting gold for host vs. other player).
This commit is contained in:
Jörg Hinrichs 2010-03-21 22:50:33 +00:00
parent 296b497eeb
commit ecdd0ac730
2 changed files with 2 additions and 2 deletions

View file

@ -13,6 +13,7 @@ Version 1.7.15+svn:
* Fix bug #14114: checksum operations fail against certain scenario events
* Fix bug #15545: recall list gone after loading savegame created in linger
mode
* Fix bug #15656: OOS errors in LoW from differing starting gold
* Fix bug #15598: can't move units after reloading game
* Fix bug #15601: replay crashes when replay log messages are enabled
* Fix segfault due to missing seed-attribute of an attack in a replay

View file

@ -596,9 +596,8 @@ LEVEL_RESULT play_game(display& disp, game_state& gamestate, const config& game_
// to force a reload of the scenario config.
if (gamestate.classification().campaign_type != "multiplayer"){
gamestate.starting_pos = config();
} else {
write_players(gamestate, gamestate.starting_pos, true, true);
}
//add the variables to the starting position
gamestate.starting_pos.add_child("variables", gamestate.get_variables());