Changeset 1152 for code/branches/network2/src
- Timestamp:
- Apr 24, 2008, 12:48:31 AM (17 years ago)
- Location:
- code/branches/network2/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network2/src/network/GameStateClient.cc
r1106 r1152 115 115 if(!it){ 116 116 COUT(4) << "loadSnapshot:\tclassid: " << sync.classID << ", name: " << ID((unsigned int) sync.classID)->getName() << std::endl; 117 ///sigsegv may happen here again for some reason 118 ///sigsegv is receved after the COUT(4) above 117 119 Synchronisable *no = dynamic_cast<Synchronisable *>(ID((unsigned int) sync.classID)->fabricate()); 118 120 no->objectID=sync.objectID; -
code/branches/network2/src/network/Synchronisable.cc
r1150 r1152 181 181 COUT(5) << "Synchronisable: objectID " << objectID << ", classID " << classID << " synchronising data" << std::endl; 182 182 for(i=syncList->begin(); i!=syncList->end(); i++){ 183 COUT(5) << " element size: " << (*i)->size << " type: " << (*i)->type << std::endl;183 COUT(5) << "Synchronisable: element size: " << (*i)->size << " type: " << (*i)->type << std::endl; 184 184 if(*(int *)data==(*i)->size || (*i)->type==STRING){ 185 185 switch((*i)->type){
Note: See TracChangeset
for help on using the changeset viewer.