Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2009, 12:47:15 AM (15 years ago)
Author:
scheusso
Message:

had to revert some things in Gamestate::diff

File:
1 edited

Legend:

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

    r3045 r3047  
    132132    if(client){
    133133//       COUT(3) << "diffing" << std::endl;
     134//       packet::Gamestate* gs1  = gs;
    134135      gs = gs->diff(client);
     136//       packet::Gamestate* gs2 = gs->undiff(client);
    135137//       gs = new packet::Gamestate(*gs);
     138//       assert(*gs1==*gs2);
    136139    }
    137140    else{
     
    161164      for(it = gamestateMap_[clientID].begin(); it!=gamestateMap_[clientID].end(); ){
    162165        delete it->second;
     166
    163167        gamestateMap_[clientID].erase(it++);
    164168      }
Note: See TracChangeset for help on using the changeset viewer.