- Timestamp:
- Dec 29, 2010, 11:41:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network6/src/libraries/network/synchronisable/Synchronisable.cc
r7801 r7825 295 295 * @param mem pointer to the bytestream 296 296 * @param mode same as in getData 297 * @param forceCallback FIXME - add doc!297 * @param forceCallback this makes updateData call each callback 298 298 * @return true/false 299 299 */ … … 372 372 * This function determines, wheter the object should be saved to the bytestream (according to its syncmode/direction) 373 373 * @param id gamestate id 374 * @param mode FIXME - add doc!374 * @param mode Synchronisation mode (toclient, toserver or bidirectional) 375 375 * @return true/false 376 376 */ 377 377 bool Synchronisable::doSync(int32_t id, uint8_t mode) 378 378 { 379 if(mode==0x0) 380 mode=state_; 379 // if(mode==0x0) 380 // mode=state_; 381 assert(mode!=0x0); 381 382 return ( (this->objectMode_ & mode)!=0 && (!syncList_.empty() ) ); 382 383 }
Note: See TracChangeset
for help on using the changeset viewer.