Skip to content

Commit

Permalink
Fix broken multiplayer.
Browse files Browse the repository at this point in the history
Broken in af5f329. D'oh.

Fixes ticket:3281.
  • Loading branch information
Cyp committed Mar 13, 2012
1 parent f5a5412 commit b7d07f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/netplay/netplay.cpp
Expand Up @@ -1378,7 +1378,7 @@ static bool NETprocessSystemMessage(NETQUEUE playerQueue, uint8_t type)
debug(LOG_ERROR, "Incomplete NET_SEND_TO_PLAYER.");
break;
}
if (sender > MAX_PLAYERS || receiver > MAX_PLAYERS)
if (sender > MAX_PLAYERS || (receiver > MAX_PLAYERS && receiver != NET_ALL_PLAYERS))
{
debug(LOG_ERROR, "Bad NET_SEND_TO_PLAYER.");
break;
Expand Down

0 comments on commit b7d07f6

Please sign in to comment.