- Timestamp:
- Dec 26, 2005, 3:40:10 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r6296 r6297 230 230 231 231 Header* header = (Header*)downBuffer; 232 if ( header->synchronizeableID < this->maxConnections ) 232 if ( header->synchronizeableID < this->maxConnections+2 ) 233 { 234 PRINTF(0)("RESET UNIQUEID TO 0\n"); 233 235 header->synchronizeableID = 0; 236 } 237 else 238 { 239 PRINTF(0)("UNIQUEID=%d\n", header->synchronizeableID); 240 } 234 241 235 242 if ( dataLength<=0 ) … … 240 247 if ( networkSockets[reciever] != NULL ) 241 248 { 242 PRINTF( 5)("write %d bytes to socket %d\n", dataLength, reciever);249 PRINTF(0)("write %d bytes to socket %d\n", dataLength, reciever); 243 250 networkSockets[reciever]->writePacket(downBuffer, dataLength); 244 251 } … … 254 261 if ( networkSockets[i] != NULL ) 255 262 { 256 PRINTF( 5)("write %d bytes to socket %d\n", dataLength, reciever);263 PRINTF(0)("write %d bytes to socket %d\n", dataLength, reciever); 257 264 networkSockets[i]->writePacket(downBuffer, dataLength); 258 265 }
Note: See TracChangeset
for help on using the changeset viewer.