Changeset 1944 for code/branches/objecthierarchy/src/network/Server.cc
- Timestamp:
- Oct 19, 2008, 12:09:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/Server.cc
r1942 r1944 239 239 if(gs==NULL){ 240 240 COUT(2) << "Server: could not generate gamestate (NULL from compress)" << std::endl; 241 temp = temp->next(); 241 242 continue; 242 243 } … … 324 325 g->setClientID(temp->getID()); 325 326 b = g->collectData(0); 326 assert(b); 327 if(!b) 328 return false; //no data for the client 327 329 b = g->compressData(); 328 330 assert(b);
Note: See TracChangeset
for help on using the changeset viewer.