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:
meep-eep
2006-12-08 03:23:22 +00:00
parent 21236ef142
commit 6158344d9a
+1 -1
View File
@@ -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);