Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2008, 12:04:27 AM (15 years ago)
Author:
scheusso
Message:

(re)implemented NACKing for gamestates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/network/GamestateManager.cc

    r2171 r2176  
    5050#include "ClientInformation.h"
    5151#include "Synchronisable.h"
     52#include "packet/Acknowledgement.h"
    5253
    5354namespace orxonox
     
    168169    unsigned int curid = temp->getGamestateID();
    169170
    170     if(gamestateID == 0){
     171    if(gamestateID == ACKID_NACK){
    171172      temp->setGamestateID(GAMESTATEID_INITIAL);
    172173      return true;
Note: See TracChangeset for help on using the changeset viewer.