mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 16:53:17 +00:00
Fix Bug #15656...
(OOS errors in LoW from differing starting gold for host vs. other player).
This commit is contained in:
parent
296b497eeb
commit
ecdd0ac730
@ -13,6 +13,7 @@ Version 1.7.15+svn:
|
|||||||
* Fix bug #14114: checksum operations fail against certain scenario events
|
* Fix bug #14114: checksum operations fail against certain scenario events
|
||||||
* Fix bug #15545: recall list gone after loading savegame created in linger
|
* Fix bug #15545: recall list gone after loading savegame created in linger
|
||||||
mode
|
mode
|
||||||
|
* Fix bug #15656: OOS errors in LoW from differing starting gold
|
||||||
* Fix bug #15598: can't move units after reloading game
|
* Fix bug #15598: can't move units after reloading game
|
||||||
* Fix bug #15601: replay crashes when replay log messages are enabled
|
* Fix bug #15601: replay crashes when replay log messages are enabled
|
||||||
* Fix segfault due to missing seed-attribute of an attack in a replay
|
* Fix segfault due to missing seed-attribute of an attack in a replay
|
||||||
|
@ -596,9 +596,8 @@ LEVEL_RESULT play_game(display& disp, game_state& gamestate, const config& game_
|
|||||||
// to force a reload of the scenario config.
|
// to force a reload of the scenario config.
|
||||||
if (gamestate.classification().campaign_type != "multiplayer"){
|
if (gamestate.classification().campaign_type != "multiplayer"){
|
||||||
gamestate.starting_pos = config();
|
gamestate.starting_pos = config();
|
||||||
} else {
|
|
||||||
write_players(gamestate, gamestate.starting_pos, true, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//add the variables to the starting position
|
//add the variables to the starting position
|
||||||
gamestate.starting_pos.add_child("variables", gamestate.get_variables());
|
gamestate.starting_pos.add_child("variables", gamestate.get_variables());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user