Changeset 3047 for code/branches/netp3/src/network/GamestateManager.cc
- Timestamp:
- May 25, 2009, 12:47:15 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp3/src/network/GamestateManager.cc
r3045 r3047 132 132 if(client){ 133 133 // COUT(3) << "diffing" << std::endl; 134 // packet::Gamestate* gs1 = gs; 134 135 gs = gs->diff(client); 136 // packet::Gamestate* gs2 = gs->undiff(client); 135 137 // gs = new packet::Gamestate(*gs); 138 // assert(*gs1==*gs2); 136 139 } 137 140 else{ … … 161 164 for(it = gamestateMap_[clientID].begin(); it!=gamestateMap_[clientID].end(); ){ 162 165 delete it->second; 166 163 167 gamestateMap_[clientID].erase(it++); 164 168 }
Note: See TracChangeset
for help on using the changeset viewer.