Fix PlayerControl bug.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2588 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -2350,7 +2350,7 @@ check_for_disconnections (PMELEE_STATE pMS)
|
|||||||
conn = netConnections[player];
|
conn = netConnections[player];
|
||||||
if (conn == NULL || !NetConnection_isConnected (conn))
|
if (conn == NULL || !NetConnection_isConnected (conn))
|
||||||
{
|
{
|
||||||
PlayerControl[player] = HUMAN_CONTROL & STANDARD_RATING;
|
PlayerControl[player] = HUMAN_CONTROL | STANDARD_RATING;
|
||||||
DrawControls (player, FALSE);
|
DrawControls (player, FALSE);
|
||||||
log_add (log_User, "Player %d has disconnected; shifting "
|
log_add (log_User, "Player %d has disconnected; shifting "
|
||||||
"controls\n", player);
|
"controls\n", player);
|
||||||
|
|||||||
Reference in New Issue
Block a user