Changeset 2575 for code/branches/presentation/src/network/Server.cc
- Timestamp:
- Jan 6, 2009, 9:39:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/Server.cc
r2415 r2575 216 216 */ 217 217 void Server::updateGamestate() { 218 // if( ClientInformation::getBegin()==NULL ) 219 //no client connected 220 // return; 218 221 gamestates_->update(); 219 222 COUT(5) << "Server: one gamestate update complete, goig to sendGameState" << std::endl; … … 274 277 bool Server::sendObjectDeletes(){ 275 278 ClientInformation *temp = ClientInformation::getBegin(); 279 if( temp == NULL ) 280 //no client connected 281 return true; 276 282 packet::DeleteObjects *del = new packet::DeleteObjects(); 277 283 if(!del->fetchIDs())
Note: See TracChangeset
for help on using the changeset viewer.