Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2009, 3:05:54 AM (15 years ago)
Author:
scheusso
Message:

fixed some problems when changing the gamestate (from menu to server i.e.)

File:
1 edited

Legend:

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

    r2662 r3102  
    111111  packet::Gamestate *GamestateClient::getGamestate(){
    112112    packet::Gamestate *gs = new packet::Gamestate();
    113     if(!gs->collectData(0)){
     113    if(!gs->collectData(0,0x2)){
    114114      delete gs;
    115115      return 0;
     
    172172      COUT(5) << "successfully undiffed gamestate id: " << undiffed->getID() << std::endl;
    173173    }
    174     if(gs->spreadData())
     174    if(gs->spreadData(0x2))
    175175      return gs;
    176176    else
Note: See TracChangeset for help on using the changeset viewer.