File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -744,20 +744,20 @@ struct MDL {
744744 uint8_t directionalDotProduct;
745745 uint8_t rootLOD;
746746 uint8_t numAllowedRootLODs;
747- uint8_t _unused0;
747+ // uint8_t _unused0;
748748
749- int32_t _unused1;
749+ // int32_t _unused1;
750750
751751 // int32_t flexControllerUICount;
752752 // int32_t flexControllerUIIndex;
753753 std::vector<FlexControllerUI> flexControllerUIs;
754754
755755 float vertAnimFixedPointScale;
756- int32_t _unused2;
756+ // int32_t _unused2;
757757
758758 int32_t studiohdr2index;
759759
760- int32_t _unused3;
760+ // int32_t _unused3;
761761
762762 struct Header2 {
763763 int32_t srcBoneTransformCount;
Original file line number Diff line number Diff line change @@ -147,17 +147,17 @@ bool MDL::open(const std::byte* data, std::size_t size) {
147147 .read (this ->directionalDotProduct )
148148 .read (this ->rootLOD )
149149 .read (this ->numAllowedRootLODs )
150- .read ( this -> _unused0 )
151- .read ( this -> _unused1 );
150+ .skip < uint8_t >() // _unused0
151+ .skip < int32_t >(); // _unused1
152152
153153 const auto flexControllerUICount = stream.read <int32_t >();
154154 const auto flexControllerUIIndex = stream.read <int32_t >();
155155
156156 stream
157157 .read (this ->vertAnimFixedPointScale )
158- .read ( this -> _unused2 )
158+ .skip < int32_t >() // _unused2
159159 .read (this ->studiohdr2index )
160- .read ( this -> _unused3 );
160+ .skip < int32_t >(); // _unused3
161161
162162 // header of the second kind perchance
163163 if (this ->studiohdr2index != 0 ) {
You can’t perform that action at this time.
0 commit comments