[wesnoth-commits] [wesnoth/wesnoth] 9c61a2: MP load game: do not overwrite saved AI
GitHub
noreply at github.com
Sun Dec 23 21:17:39 UTC 2018
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: 9c61a230567b134d64045ffa1da4ac82ea1ecb8c
https://github.com/wesnoth/wesnoth/commit/9c61a230567b134d64045ffa1da4ac82ea1ecb8c
Author: mattsc <mattsc000 at gmail.com>
Date: 2018-12-23 (Sun, 23 Dec 2018)
Changed paths:
M changelog.md
M src/game_initialization/connect_engine.cpp
M src/gui/dialogs/multiplayer/mp_staging.cpp
M src/gui/dialogs/multiplayer/mp_staging.hpp
Log Message:
-----------
MP load game: do not overwrite saved AI
When an MP game is saved and then reloaded from the MP Create Game screen, one goes through the Game Lobby screen which gives the option of changing controllers and AIs for the different sides. Previously, this added an AI stage in front of the already existing AI for all computer player sides. This effectively replaced the existing AI.
This commit adds an option "Keep saved AI" to the Computer Player selection menu (when loading games only) and makes it the default. It does nothing to the AI config if this is chosen, otherwise it uses the new AI and also removes the old AI stages from the config.
This fixes #3791.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Commits
mailing list