Changeset 7230 in orxonox.OLD for trunk/src/lib/lang
- Timestamp:
- Mar 21, 2006, 3:20:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/base_object.cc
r7221 r7230 186 186 int BaseObject::writeState( const byte * data, int length, int sender ) 187 187 { 188 /// FIXME STD 189 190 /* SYNCHELP_READ_BEGIN(); 191 192 if ( !objectName.empty() ) 193 { 194 delete[] objectName; 195 objectName = NULL; 196 } 197 SYNCHELP_READ_STRINGM( this->objectName, NWT_BO_NAME ); 198 if ( this->objectName && !strcmp(this->objectName, "") ) 199 { 200 delete[] this->objectName; 201 this->objectName = NULL; 202 } 203 204 return SYNCHELP_READ_N;*/ 188 SYNCHELP_READ_BEGIN(); 189 190 SYNCHELP_READ_STRING( this->objectName, NWT_BO_NAME ); 191 192 return SYNCHELP_READ_N; 205 193 } 206 194 … … 213 201 int BaseObject::readState( byte * data, int maxLength ) 214 202 { 215 ///FIXME STD 216 /* SYNCHELP_WRITE_BEGIN(); 203 SYNCHELP_WRITE_BEGIN(); 217 204 218 205 //PRINTF(0)("objectname = %s\n", this->objectName); 219 206 SYNCHELP_WRITE_STRING( this->objectName, NWT_BO_NAME ); 220 207 221 return SYNCHELP_WRITE_N; */222 } 208 return SYNCHELP_WRITE_N; 209 }
Note: See TracChangeset
for help on using the changeset viewer.