Changeset 8373 for code/trunk/src/libraries/network/GamestateManager.cc
- Timestamp:
- May 2, 2011, 5:00:20 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/GamestateManager.cc
r8327 r8373 54 54 #include "util/Debug.h" 55 55 #include "util/Clock.h" 56 #include "util/OrxAssert.h" 56 57 // #include "TrafficControl.h" 57 58 … … 108 109 // now push only the most recent gamestates we received (ignore obsolete ones) 109 110 for(it = gamestateQueue.begin(); it!=gamestateQueue.end(); it++){ 110 bool b = processGamestate(it->second); 111 assert(b); 111 OrxVerify(processGamestate(it->second), ""); 112 112 sendAck( it->second->getID(), it->second->getPeerID() ); 113 113 delete it->second; … … 252 252 253 253 254 // bool b = gs->compressData(); 255 // assert(b); 254 // OrxVerify(gs->compressData(), ""); 256 255 clock.capture(); 257 256 COUT(5) << "diff and compress time: " << clock.getDeltaTime() << endl; … … 363 362 if(gs->isCompressed()) 364 363 { 365 bool b = gs->decompressData(); 366 assert(b); 364 OrxVerify(gs->decompressData(), ""); 367 365 } 368 366 assert(!gs->isDiffed());
Note: See TracChangeset
for help on using the changeset viewer.