diff options
| -rw-r--r-- | ZAPD/OtherStructs/SkinLimbStructs.h | 4 | ||||
| -rw-r--r-- | ZAPD/ZRoom/Commands/SetMesh.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ZAPD/OtherStructs/SkinLimbStructs.h b/ZAPD/OtherStructs/SkinLimbStructs.h index 0bc35a2..fd26f4d 100644 --- a/ZAPD/OtherStructs/SkinLimbStructs.h +++ b/ZAPD/OtherStructs/SkinLimbStructs.h @@ -101,10 +101,10 @@ public: size_t GetRawDataSize() const override; public: - uint16_t totalVtxCount; + uint16_t totalVtxCount = 0; uint16_t limbModifCount; // Length of limbModifications segptr_t limbModifications; // SkinLimbModif* - segptr_t dlist; // Gfx* + segptr_t dlist = SEGMENTED_NULL; // Gfx* std::vector<SkinLimbModif> limbModifications_arr; // ZDisplayList* unk_8_dlist = nullptr; diff --git a/ZAPD/ZRoom/Commands/SetMesh.h b/ZAPD/ZRoom/Commands/SetMesh.h index c0f15da..b2779ae 100644 --- a/ZAPD/ZRoom/Commands/SetMesh.h +++ b/ZAPD/ZRoom/Commands/SetMesh.h @@ -44,8 +44,8 @@ protected: class RoomShapeImageMultiBgEntry : public ZResource { public: - uint16_t unk_00; - uint8_t id; + uint16_t unk_00 = 0; + uint8_t id = 0; segptr_t source; uint32_t unk_0C; uint32_t tlut; @@ -141,7 +141,7 @@ public: class SetMesh : public ZRoomCommand { public: - uint8_t data; + uint8_t data = 0; uint8_t meshHeaderType; std::shared_ptr<PolygonTypeBase> polyType; |
