Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 2:09:33 PM (16 years ago)
Author:
scheusso
Message:

reverted some changes from previous version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merge/src/network/ClientInformation.cc

    r1355 r1361  
    5151    preve=0;
    5252    nexte=0;
    53     partialGamestateID_=GAMESTATEID_INITIAL-1;
    5453    this->head_=false;
    5554    synched_=false;
     
    6059    preve=0;
    6160    nexte=0;
    62     partialGamestateID_=GAMESTATEID_INITIAL-1;
    6361    this->head_=head;
    6462    synched_=false;
     
    161159    return true;
    162160  }
    163  
    164   bool ClientInformation::setPartialGamestateID(int id){
    165     boost::recursive_mutex::scoped_lock lock(mutex_);
    166     if(!this)
    167       return false;
    168     partialGamestateID_=id;
    169     return true;
    170   }
    171161
    172162  int ClientInformation::getID() {
     
    213203    if(this)
    214204      return gamestateID_;
    215     else
    216       return -1;
    217   }
    218  
    219   int ClientInformation::getPartialGamestateID() {
    220     boost::recursive_mutex::scoped_lock lock(mutex_);
    221     if(this)
    222       return partialGamestateID_;
    223205    else
    224206      return -1;
Note: See TracChangeset for help on using the changeset viewer.