Follow-up Comment #2, bug #14505 (project freeciv):
* The most part of the code for connection handling is moved to
** connection_attach(pconn, pplayer, observe) does all the initialization
needed to really observe or take a player.
** connection_detach(pconn): added player removing in pregame, aitoggle (the
invert of connection_attach()), and all notications.
* observe_command(), take_command() and detach_command() just makes an
interface between the user chat command and functions connection_attach() and
* Removed the usage of detach_command in every places, replaced by
connection_detach(). This will also prevent the future addition of
Additional Item Attachment:
File name: trunk_S2_2_conn_handle_cleanup2.diff Size:31 KB
Reply to this item at:
Message posté via/par Gna!
Freeciv-dev mailing list