Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 29, 2005, 5:37:00 PM (18 years ago)
Author:
rennerc
Message:

synchronizeable: writeBytes now returns int
converter: converts now 0.0f without endless loop :D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/skybox.cc

    r6328 r6331  
    220220}
    221221
    222 void SkyBox::writeBytes( const byte * data, int length, int sender )
     222int SkyBox::writeBytes( const byte * data, int length, int sender )
    223223{
    224224  setRequestedSync( false );
     
    226226
    227227  SYNCHELP_READ_BEGIN();
     228
     229  SYNCHELP_READ_FKT( WorldEntity::writeState );
     230
    228231  SYNCHELP_READ_FLOAT( size );
    229232  if ( textureName )
     
    239242  this->setTextureAndType( textureName, "jpg" );
    240243  this->rebuild();
     244
     245  return SYNCHELP_READ_N;
    241246}
    242247
     
    258263
    259264    SYNCHELP_WRITE_BEGIN();
     265
     266    SYNCHELP_WRITE_FKT( WorldEntity::readState );
     267
    260268    SYNCHELP_WRITE_FLOAT(this->size);
    261269    SYNCHELP_WRITE_STRING(this->textureName);
Note: See TracChangeset for help on using the changeset viewer.