- Timestamp:
- Jul 24, 2006, 8:55:53 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.cc
r9400 r9401 720 720 // server fakes uniqueid == 0 for handshake 721 721 if ( ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServer() ) && 722 sync.getUniqueID() < SharedNetworkData::getInstance()->getMaxPlayer() -1 )722 sync.getUniqueID() < SharedNetworkData::getInstance()->getMaxPlayer() + 1 ) 723 723 n = Converter::intToByteArray( 0, buf + offset, UDP_PACKET_SIZE - offset ); 724 724 else 725 725 n = Converter::intToByteArray( sync.getUniqueID(), buf + offset, UDP_PACKET_SIZE - offset ); 726 726 727 PRINTF(0)("unique id: %i\n", sync.getUniqueID());728 727 729 728 assert( n == INTSIZE );
Note: See TracChangeset
for help on using the changeset viewer.