Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 6, 2008, 1:39:51 PM (16 years ago)
Author:
scheusso
Message:

enet callback disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/GamestateClient.cc

    r1707 r1712  
    7474    int id = GAMESTATEID_INITIAL;
    7575    bool b = saveShipCache();
    76     if(tempGamestate_->spreadData()){
     76    if(processGamestate(tempGamestate_)){
    7777      if(b)
    7878        loadShipCache();
     
    151151  }
    152152
     153  bool GamestateClient::processGamestate(packet::Gamestate *gs){
     154    assert(gs->decompressData());
     155    if(gs->isDiffed())
     156      assert(gs->undiff(gamestateMap_[gs->getBaseID()]));
     157    return gs->spreadData();
     158  }
    153159
    154160}
Note: See TracChangeset for help on using the changeset viewer.