Skip to content

Commit e743700

Browse files
Update CClientVehicle.h
1 parent d5321f0 commit e743700

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Client/mods/deathmatch/logic/CClientVehicle.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ class CClientVehicle : public CClientStreamElement
754754
SLastSyncedVehData* m_LastSyncedData;
755755
SSirenInfo m_tSirenBeaconInfo;
756756
std::map<SString, SVehicleComponentData> m_ComponentData;
757+
// Store visibility state when the component map is regenerated
758+
std::map<SString, bool> m_ComponentVisibilityBackup;
757759
bool m_bAsyncLoadingDisabled;
758760

759761
std::array<CVector, static_cast<std::size_t>(VehicleDummies::VEHICLE_DUMMY_COUNT)> m_dummyPositions;

0 commit comments

Comments
 (0)