- Timestamp:
- Feb 14, 2009, 6:01:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/GamestateManager.cc
r2655 r2660 113 113 //why are we searching the same client's gamestate id as we searched in 114 114 //Server::sendGameState? 115 packet::Gamestate *gs ;115 packet::Gamestate *gs, *temp; 116 116 unsigned int gID = ClientInformation::findClient(clientID)->getGamestateID(); 117 117 if(!reference) 118 118 return 0; 119 119 gs = reference->doSelection(clientID, 10000); 120 temp = gs; 120 121 // gs = new packet::Gamestate(*reference); 121 122 // save the (undiffed) gamestate in the clients gamestate map … … 142 143 bool b = gs->compressData(); 143 144 assert(b); 145 COUT(4) << "sending gamestate with id " << gs->getID(); 146 if(gs->isDiffed()) 147 COUT(4) << " and baseid " << gs->getBaseID() << endl; 148 else 149 COUT(4) << endl; 144 150 return gs; 145 151 }
Note: See TracChangeset
for help on using the changeset viewer.