Changeset 1303 for code/branches/merge/src/network
- Timestamp:
- May 15, 2008, 10:30:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/network/GameStateClient.cc
r1264 r1303 145 145 if(!id){ 146 146 COUT(4) << "We could not identify a new object; classid: " << sync.classID << std::endl; 147 continue;147 return false; 148 148 } 149 149 Synchronisable *no = dynamic_cast<Synchronisable *>(id->fabricate()); … … 152 152 no->classID=sync.classID; 153 153 // update data and create object/entity... 154 if( !no->updateData(sync) ) 154 if( !no->updateData(sync) ){ 155 155 COUT(1) << "We couldn't update the object: " << sync.objectID << std::endl; 156 return false; 157 } 156 158 if( !no->create() ) 157 159 COUT(1) << "We couldn't manifest (create() ) the object: " << sync.objectID << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.