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

    r1355 r1361  
    221221    orxonox::Iterator<Synchronisable> it=orxonox::ObjectList<Synchronisable>::start();
    222222    syncData sync;
    223     /*ClientInformation *client = head_->findClient(clientID);
    224     if(client)
    225       if(client->getPartialGamestateID()>state->id){
    226         COUT(3) << "we received an obsolete partial gamestate" << std::endl;
    227         return false;
    228       }
    229     else;*/
    230         //what should we do now ??
    231223    // loop as long as we have some data ;)
    232224    while(data < state->data+state->size){
     
    276268      ++it;
    277269    }
    278     //client->setPartialGamestateID(state->id);
     270   
    279271    return true;
    280272  }
     
    436428      return;
    437429    int curid = temp->getGamestateID();
    438     if(curid > gamestateID)
    439       // the network packets got messed up
    440       return;
    441430    COUT(4) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl;
    442431    // decrease usage of gamestate and save it
Note: See TracChangeset for help on using the changeset viewer.