Changeset 3302 for code/branches/netp6/src/network/GamestateManager.cc
- Timestamp:
- Jul 18, 2009, 5:13:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp6/src/network/GamestateManager.cc
r3240 r3302 99 99 100 100 bool GamestateManager::processGamestates(){ 101 if( this->gamestateQueue.empty() ) 102 return true; 101 103 std::map<unsigned int, packet::Gamestate*>::iterator it; 102 104 // now push only the most recent gamestates we received (ignore obsolete ones) … … 141 143 int cid = temp->getID(); //get client id 142 144 143 packet::Gamestate *gs;144 145 unsigned int gID = temp->getGamestateID(); 145 146 if(!reference) … … 242 243 243 244 assert(curid==(unsigned int)GAMESTATEID_INITIAL || curid<gamestateID); 244 COUT( 4) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl;245 COUT(5) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl; 245 246 std::map<unsigned int, packet::Gamestate*>::iterator it; 246 247 for(it = gamestateMap_[clientID].begin(); it!=gamestateMap_[clientID].end() && it->first<gamestateID; ){
Note: See TracChangeset
for help on using the changeset viewer.