Skip to content

Commit

Permalink
Update Client/game_sa/CModelInfoSA.h
Browse files Browse the repository at this point in the history
Review

Co-authored-by: Uladzislau Nikalayevich <[email protected]>
  • Loading branch information
FileEX and TheNormalnij authored Nov 16, 2024
1 parent 9d746c3 commit be0fa46
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions Client/game_sa/CModelInfoSA.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,17 +308,9 @@ class CVehicleModelInfoSAInterface : public CClumpModelInfoSAInterface
float bikeSteeringAngle;
CVehicleModelVisualInfoSAInterface* pVisualInfo; // vehicleStruct
std::uint8_t field_60[464];

union
{
struct
{
RpMaterial** m_dirtMaterials;
size_t m_numDirtMaterials;
RpMaterial* m_staticDirtMaterials[30];
};
};

RpMaterial** m_dirtMaterials;
std::size_t m_numDirtMaterials;
RpMaterial* m_staticDirtMaterials[30];
std::uint8_t primColors[8];
std::uint8_t secondColors[8];
std::uint8_t treeColors[8];
Expand Down

0 comments on commit be0fa46

Please sign in to comment.