Explorar el Código

fix AnimValue smooth values on clients
the dbs were not transmitting the bools

AzaezelX hace 1 mes
padre
commit
80c49ec692
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Engine/source/T3D/lightAnimData.cpp

+ 2 - 0
Engine/source/T3D/lightAnimData.cpp

@@ -244,6 +244,7 @@ void LightAnimData::AnimValue<COUNT>::write( BitStream *stream ) const
       stream->write( value2[i] );
       stream->write( period[i] );
       stream->writeString( keys[i] );
+      stream->writeFlag(smooth[i]);
    }
 }
 
@@ -256,6 +257,7 @@ void LightAnimData::AnimValue<COUNT>::read( BitStream *stream )
       stream->read( &value2[i] );
       stream->read( &period[i] );
       keys[i] = stream->readSTString();
+      smooth[i] = stream->readFlag();
    }
 }