- Timestamp:
- Feb 13, 2009, 6:41:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/GamestateClient.cc
r2485 r2655 77 77 int id = GAMESTATEID_INITIAL; 78 78 packet::Gamestate *processed = processGamestate(tempGamestate_); 79 //assert(processed);79 assert(processed); 80 80 81 81 //now call the queued callbacks … … 83 83 84 84 if (!processed){ 85 sendAck(0);85 // sendAck(0); 86 86 return false; 87 87 } … … 91 91 last_diff_ = processed->getID(); 92 92 id = processed->getID(); 93 sendAck(id);93 // sendAck(id); 94 94 return true; 95 95 } … … 160 160 packet::Gamestate *base = gamestateMap_[gs->getBaseID()]; 161 161 if(!base){ 162 COUT(0) << "could not find base gamestate id: " << gs->getBaseID() << endl; 162 163 delete gs; 163 164 return 0; … … 172 173 return gs; 173 174 else 175 COUT(0) << "could not spread gamestate" << endl; 174 176 return NULL; 175 177 }
Note: See TracChangeset
for help on using the changeset viewer.