Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 12, 2008, 12:15:30 PM (16 years ago)
Author:
scheusso
Message:

Lots of changes:
Some fixes/hacks in objects
Changes in Gamestates and bugfixes
Removed some asserts

File:
1 edited

Legend:

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

    r1827 r1901  
    154154      gs = new packet::Gamestate(*gs);
    155155    }
    156     assert(gs->compressData());
     156    bool b = gs->compressData();
     157    assert(b);
    157158    return gs;
    158159  }
     
    194195  bool GamestateManager::processGamestate(packet::Gamestate *gs){
    195196    if(gs->isCompressed())
    196        assert(gs->decompressData());
     197    {
     198       bool b = gs->decompressData();
     199       assert(b);
     200    }
    197201    assert(!gs->isDiffed());
    198202    return gs->spreadData();
Note: See TracChangeset for help on using the changeset viewer.