Changeset 1769 for code/trunk/src/network/GamestateManager.cc
- Timestamp:
- Sep 11, 2008, 5:06:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/GamestateManager.cc
r1763 r1769 157 157 int curid = temp->getGamestateID(); 158 158 159 if(gamestateID == GAMESTATEID_INITIAL){159 if(gamestateID == 0){ 160 160 temp->setGamestateID(GAMESTATEID_INITIAL); 161 161 if(curid!=GAMESTATEID_INITIAL){ … … 163 163 --(gamestateUsed.find(curid)->second); 164 164 } 165 return false; 166 } 167 if(curid > gamestateID) 165 return true; 166 } 167 //if(curid > gamestateID) 168 assert(curid<gamestateID); 168 169 // the network packets got messed up 169 return true;170 //return true; 170 171 COUT(4) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl; 171 172 // decrease usage of gamestate and save it
Note: See TracChangeset
for help on using the changeset viewer.