diff --git a/Client/mods/deathmatch/logic/CClientVehicle.cpp b/Client/mods/deathmatch/logic/CClientVehicle.cpp index 29c0afc609..689e3f1778 100644 --- a/Client/mods/deathmatch/logic/CClientVehicle.cpp +++ b/Client/mods/deathmatch/logic/CClientVehicle.cpp @@ -1578,7 +1578,7 @@ void CClientVehicle::SetHeliRotorSpeed(float fSpeed) bool CClientVehicle::GetVehicleRotorState() const noexcept { - return m_pVehicle && (m_eVehicleType == CLIENTVEHICLE_HELI || m_eVehicleType == CLIENTVEHICLE_PLANE) ? m_pVehicle->GetVehicleRotorState() : m_heliRotorState; + return m_pVehicle && (m_eVehicleType == CLIENTVEHICLE_HELI || m_eVehicleType == CLIENTVEHICLE_PLANE) ? m_pVehicle->GetVehicleRotorState() : m_rotorState; } void CClientVehicle::SetVehicleRotorState(bool state, bool stopRotor) noexcept @@ -1586,7 +1586,7 @@ void CClientVehicle::SetVehicleRotorState(bool state, bool stopRotor) noexcept if (m_pVehicle && (m_eVehicleType == CLIENTVEHICLE_HELI || m_eVehicleType == CLIENTVEHICLE_PLANE)) m_pVehicle->SetVehicleRotorState(state, stopRotor, GetVehicleType() == CLIENTVEHICLE_HELI); - m_heliRotorState = state; + m_rotorState = state; } void CClientVehicle::SetPlaneRotorSpeed(float fSpeed) diff --git a/Client/mods/deathmatch/logic/CClientVehicle.h b/Client/mods/deathmatch/logic/CClientVehicle.h index e7e20337e4..33dc6f578e 100644 --- a/Client/mods/deathmatch/logic/CClientVehicle.h +++ b/Client/mods/deathmatch/logic/CClientVehicle.h @@ -673,7 +673,7 @@ class CClientVehicle : public CClientStreamElement uchar m_ucTrackID; bool m_bJustStreamedIn; bool m_bWheelScaleChanged; - bool m_heliRotorState{true}; + bool m_rotorState{true}; // Time dependent error compensation interpolation struct