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/GamestateManager.cc

    r1705 r1712  
    8181    // now push only the most recent gamestates we received (ignore obsolete ones)
    8282    for(it = gamestateQueue.begin(); it!=gamestateQueue.end(); it++){
    83       it->second->spreadData();
     83      assert(processGamestate(it->second));
    8484      delete it->second;
    8585    }
     
    197197    ClientInformation::removeClient(client->getID());
    198198  }
     199 
     200  bool GamestateManager::processGamestate(packet::Gamestate *gs){
     201    assert(gs->decompressData());
     202    assert(!gs->isDiffed());
     203    return gs->spreadData();
     204  }
    199205
    200206}
Note: See TracChangeset for help on using the changeset viewer.