[Commits] [wesnoth/wesnoth] 1ab31b: Remove explicit destructor from playsingle_control...
GitHub
noreply at github.com
Tue Feb 20 17:50:49 UTC 2018
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 1ab31bfcea520200e31b893e2bbff6c014168838
https://github.com/wesnoth/wesnoth/commit/1ab31bfcea520200e31b893e2bbff6c014168838
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/playsingle_controller.cpp
M src/playsingle_controller.hpp
Log Message:
-----------
Remove explicit destructor from playsingle_controller
Now when the AI manager is part of game_state, destroying game_state
implicitly removes all observers from AI manager.
Therefore playsingle_controller no longer needs to explicitly deregister
itself as an observer.
Commit: 5b89aaf780a63932a3c3f8467be639b0c547e716
https://github.com/wesnoth/wesnoth/commit/5b89aaf780a63932a3c3f8467be639b0c547e716
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/ai/manager.hpp
M src/game_launcher.cpp
Log Message:
-----------
Reset AI manager singleton pointer when exiting the game (fixes #2523)
Compare: https://github.com/wesnoth/wesnoth/compare/98a788e8055b...5b89aaf780a6
More information about the Commits
mailing list