Change the NetServer Broadcast function to send the given message to clients that...
commit8f36a4ea9f4bec652fb914c2e486dccb5d83b6b3
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Wed, 25 Jan 2017 19:04:17 +0000 (25 19:04 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Wed, 25 Jan 2017 19:04:17 +0000 (25 19:04 +0000)
treed7a249805dd9a83f16802e9e3a5b24ac8331c567
parentadc57ffd7b442e72603b1f2dddf9e0f98ee4a1d8
Change the NetServer Broadcast function to send the given message to clients that are in one of the states specified by the caller.
Thus remove the peculiarity to broadcast to clients that are in the gamesetup, loading screen or ingame, but not rejoining ones.

Fix "unknown player" errors in the GUI by broadcasting player assignments to rejoining players too. Fixes #4036.

Differential Revision: D17
Reviewed By: Imarok

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@19171 3db68df2-c116-0410-a063-a993310a9797
source/network/NetServer.cpp
source/network/NetServer.h
source/network/NetServerTurnManager.cpp