Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 8742 → Rev 8743

/source/sw/src/game.cpp
923,15 → 923,7
initsingleplayers();
else if (initmultiplayersparms(argc - firstnet, &argv[firstnet]))
{
if ((networkmode == MMULTI_MODE_MS) && (numplayers > 2))
{
QuitFlag = TRUE;
wm_msgbox("Multiplayer Option Error",
"This release does not support a master-slave networking "
"mode for more than 2 players. However, peer-to-peer "
"networking has been found to be playable.");
return;
}
NetBroadcastMode = (networkmode == MMULTI_MODE_P2P);
buildputs("Waiting for players...\n");
while (initmultiplayerscycle())
{
/source/sw/src/network.cpp
1338,7 → 1338,7
 
#if !BIT_CODEC
if (i != myconnectindex)
memcpy(&pp->inputfifo[pp->movefifoend & (MOVEFIFOSIZ - 1)], &packbuf[j], sizeof(SW_PACKET));
memcpy(&pp->inputfifo[pp->movefifoend++ & (MOVEFIFOSIZ - 1)], &packbuf[j], sizeof(SW_PACKET));
j += sizeof(SW_PACKET);
#else
if (i == myconnectindex)
1352,10 → 1352,9
j += DecodeBits(&pp->inputfifo[(pp->movefifoend) & (MOVEFIFOSIZ - 1)],
&pp->inputfifo[(pp->movefifoend - 1) & (MOVEFIFOSIZ - 1)],
&packbuf[j]);
pp->movefifoend++;
}
#endif
 
pp->movefifoend++;
}
 
while (j != packbufleng)