diff --git a/Source/Contents/Models/ModelTextureAnimation.cpp b/Source/Contents/Models/ModelTextureAnimation.cpp index 746a41c..340ac8c 100644 --- a/Source/Contents/Models/ModelTextureAnimation.cpp +++ b/Source/Contents/Models/ModelTextureAnimation.cpp @@ -71,6 +71,16 @@ struct ModelKeyList3 : std::vector { }; // OFFSET: 0x00541250 +// FUNCTION: fn_01730 +void ModelKeyList3::Read(CFile& file) { + int count = 0; + file.Read(&count, sizeof(count)); + for (int i = 0; i < count; ++i) { + ModelRotationKey key{0, {0.0f, 0.0f, 0.0f, 1.0f}}; + file.Read(&key, sizeof(key)); + this->push_back(key); + } +} struct ModelKeyList4 : std::vector { void Read(CFile& file);