Skip to content
Snippets Groups Projects
Commit add62a50 authored by Shon Ferguson's avatar Shon Ferguson
Browse files

Small version related fixes.

parent aba79f3f
No related branches found
No related tags found
No related merge requests found
......@@ -1280,8 +1280,8 @@ void AShapeData::Read( istream& in, unsigned int version ){
}
}
//After version 10.2.0.0 there's several unknown vectors here
if ( version >= VER_10_2_0_0 && hasUnknown == true ) {
//After version 10.1.0.0 there's several unknown vectors here
if ( version >= VER_10_1_0_0 && hasUnknown == true ) {
unk_vects.resize( vert_count * 2 );
for ( uint i = 0; i < unk_vects.size(); ++i ){
NifStream( unk_vects[i], in );
......
......@@ -385,7 +385,7 @@ NiKeyframeController::NiKeyframeController() {
NiLightColorController::NiLightColorController() {
AddAttr( attr_link, "Interpolator", 0, 0xFFFFFFFF );
AddAttr( attr_short, "Unknown Short", 0, 0xFFFFFFFF );
AddAttr( attr_short, "Unknown Short", 167903232, 0xFFFFFFFF );
Init();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment