Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 18, 2007, 5:51:47 PM (16 years ago)
Author:
scheusso
Message:

gamestatehandling, error correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/Server.cc

    r607 r620  
    144144      std::cout << "doing gamestate" << std::endl;
    145145      int id = temp->getID();
     146      std::cout << "server, got ID: " << id << std::endl;
    146147      GameStateCompressed *gs = &(gamestates->popGameState(id));
    147148      std::cout << "adding gamestate" << std::endl;
     
    157158  }
    158159 
     160  void Server::processAck( ack *data, int clientID){
     161    clients->findClient(clientID)->setGamestateID(data->id);
     162  }
    159163 
    160164}
Note: See TracChangeset for help on using the changeset viewer.