Changeset 8952 for code/trunk/src/libraries/network
- Timestamp:
- Nov 26, 2011, 6:22:13 PM (13 years ago)
- Location:
- code/trunk/src/libraries/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/MasterServer.cc
r8937 r8952 87 87 88 88 /* force-disconnect the server */ 89 enet_peer_disconnect( shandle.result.peer, NULL);89 enet_peer_disconnect( shandle.result.peer, 0 ); 90 90 91 91 /* actually remove the entry from the server list by address */ -
code/trunk/src/libraries/network/packet/Gamestate.cc
r8858 r8952 532 532 assert(origHeader.getDataSize() < 500); 533 533 534 bool diffedObject = false;535 534 if( findObject(baseDataPtr, baseDataEnd, origHeader) ) 536 535 { … … 543 542 // orxout(verbose, context::packets) << "diffing object in order: " << Synchronisable::getSynchronisable(origHeader.getObjectID())->getIdentifier()->getName() << endl; 544 543 diffObject(destDataPtr, origDataPtr, baseDataPtr, origHeader, sizesIt); 545 diffedObject = true;546 544 } 547 545 else … … 567 565 // orxout(verbose, context::packets) << "diffing object out of order: " << Synchronisable::getSynchronisable(origHeader.getObjectID())->getIdentifier()->getName() << endl; 568 566 diffObject(destDataPtr, origDataPtr, baseDataPtr, origHeader, sizesIt); 569 diffedObject = true;570 567 } 571 568 else
Note: See TracChangeset
for help on using the changeset viewer.