Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 7, 2008, 3:30:52 PM (16 years ago)
Author:
scheusso
Message:

more progress (still not ok)

File:
1 edited

Legend:

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

    r1711 r1730  
    151151    if(client_connection.isConnected() && isSynched_){
    152152      COUT(4) << "popping partial gamestate: " << std::endl;
    153       packet::Gamestate *gs = gamestate.getGamestate();
     153      /*packet::Gamestate *gs = gamestate.getGamestate();
    154154      if(gs){
    155155        COUT(4) << "client tick: sending gs " << gs << std::endl;
     
    157157          COUT(3) << "Problem adding partial gamestate to queue" << std::endl;
    158158        // gs gets automatically deleted by enet callback
    159       }
     159      }*/
    160160    }
    161161    ENetEvent *event;
     
    168168    }
    169169    int gameStateID = gamestate.processGamestates();
    170     if(gameStateID==GAMESTATEID_INITIAL)
     170    /*if(gameStateID==GAMESTATEID_INITIAL)
    171171      if(gameStateFailure_){
    172172        packet::Acknowledgement ack(GAMESTATEID_INITIAL, 0);
     
    186186      if(!ack.send())
    187187        COUT(3) << "could not ack gamestate" << std::endl;
    188     }// otherwise we had no gamestate to load
     188    }*/// otherwise we had no gamestate to load
    189189    gamestate.cleanup();
    190190    return;
Note: See TracChangeset for help on using the changeset viewer.