Changeset 1730 for code/branches/network/src/network/Client.cc
- Timestamp:
- Sep 7, 2008, 3:30:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/Client.cc
r1711 r1730 151 151 if(client_connection.isConnected() && isSynched_){ 152 152 COUT(4) << "popping partial gamestate: " << std::endl; 153 packet::Gamestate *gs = gamestate.getGamestate();153 /*packet::Gamestate *gs = gamestate.getGamestate(); 154 154 if(gs){ 155 155 COUT(4) << "client tick: sending gs " << gs << std::endl; … … 157 157 COUT(3) << "Problem adding partial gamestate to queue" << std::endl; 158 158 // gs gets automatically deleted by enet callback 159 } 159 }*/ 160 160 } 161 161 ENetEvent *event; … … 168 168 } 169 169 int gameStateID = gamestate.processGamestates(); 170 if(gameStateID==GAMESTATEID_INITIAL)170 /*if(gameStateID==GAMESTATEID_INITIAL) 171 171 if(gameStateFailure_){ 172 172 packet::Acknowledgement ack(GAMESTATEID_INITIAL, 0); … … 186 186 if(!ack.send()) 187 187 COUT(3) << "could not ack gamestate" << std::endl; 188 } // otherwise we had no gamestate to load188 }*/// otherwise we had no gamestate to load 189 189 gamestate.cleanup(); 190 190 return;
Note: See TracChangeset
for help on using the changeset viewer.