Changeset 1712 for code/branches/network/src/network/GamestateManager.cc
- Timestamp:
- Sep 6, 2008, 1:39:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/GamestateManager.cc
r1705 r1712 81 81 // now push only the most recent gamestates we received (ignore obsolete ones) 82 82 for(it = gamestateQueue.begin(); it!=gamestateQueue.end(); it++){ 83 it->second->spreadData();83 assert(processGamestate(it->second)); 84 84 delete it->second; 85 85 } … … 197 197 ClientInformation::removeClient(client->getID()); 198 198 } 199 200 bool GamestateManager::processGamestate(packet::Gamestate *gs){ 201 assert(gs->decompressData()); 202 assert(!gs->isDiffed()); 203 return gs->spreadData(); 204 } 199 205 200 206 }
Note: See TracChangeset
for help on using the changeset viewer.