Changeset 1742 for code/branches/network/src/network/Server.cc
- Timestamp:
- Sep 8, 2008, 2:21:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/Server.cc
r1739 r1742 264 264 //std::cout << "adding gamestate" << std::endl; 265 265 gs->setClientID(cid); 266 assert(gs->compressData());267 266 if ( !gs->send() ){ 268 267 COUT(3) << "Server: packet with client id (cid): " << cid << " not sended: " << temp->getFailures() << std::endl; … … 298 297 return false; 299 298 } 300 if(temp->prev()->getBegin()) { //not good if you use anything else than insertBack 301 temp->prev()->setID(0); //bugfix: not necessary but usefull 299 if(temp==ClientInformation::getBegin()) { //not good if you use anything else than insertBack 302 300 temp->setID(1); 303 301 }
Note: See TracChangeset
for help on using the changeset viewer.