[wesnoth-commits] [wesnoth/wesnoth] 204357: Tell other clients about controller type changes f...
Pentarctagon
noreply at github.com
Wed Dec 30 15:09:41 UTC 2020
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 204357c6d2b722bf5765002a52da8a98bad1a4e0
https://github.com/wesnoth/wesnoth/commit/204357c6d2b722bf5765002a52da8a98bad1a4e0
Author: Pentarctagon <pentarctagon at tutamail.com>
Date: 2020-12-30 (Wed, 30 Dec 2020)
Changed paths:
M src/game_board.cpp
M src/game_board.hpp
M src/menu_events.cpp
M src/playturn.cpp
M src/server/wesnothd/game.cpp
M src/server/wesnothd/game.hpp
Log Message:
-----------
Tell other clients about controller type changes from :droid
If one client changes the controller type of a side it controls from human -> AI or vice versa, the other clients need to know about it in case there's WML/lua that uses the controller type to determine what to do. This also means that droiding a side you own can now only be done when it's your turn.
Fixes #4996
More information about the Commits
mailing list