File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1578,15 +1578,15 @@ void CClientVehicle::SetHeliRotorSpeed(float fSpeed)
15781578
15791579bool CClientVehicle::GetVehicleRotorState () const noexcept
15801580{
1581- return m_pVehicle && (m_eVehicleType == CLIENTVEHICLE_HELI || m_eVehicleType == CLIENTVEHICLE_PLANE) ? m_pVehicle->GetVehicleRotorState () : m_heliRotorState ;
1581+ return m_pVehicle && (m_eVehicleType == CLIENTVEHICLE_HELI || m_eVehicleType == CLIENTVEHICLE_PLANE) ? m_pVehicle->GetVehicleRotorState () : m_rotorState ;
15821582}
15831583
15841584void CClientVehicle::SetVehicleRotorState (bool state, bool stopRotor) noexcept
15851585{
15861586 if (m_pVehicle && (m_eVehicleType == CLIENTVEHICLE_HELI || m_eVehicleType == CLIENTVEHICLE_PLANE))
15871587 m_pVehicle->SetVehicleRotorState (state, stopRotor, GetVehicleType () == CLIENTVEHICLE_HELI);
15881588
1589- m_heliRotorState = state;
1589+ m_rotorState = state;
15901590}
15911591
15921592void CClientVehicle::SetPlaneRotorSpeed (float fSpeed )
Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ class CClientVehicle : public CClientStreamElement
673673 uchar m_ucTrackID;
674674 bool m_bJustStreamedIn;
675675 bool m_bWheelScaleChanged;
676- bool m_heliRotorState {true };
676+ bool m_rotorState {true };
677677
678678 // Time dependent error compensation interpolation
679679 struct
You can’t perform that action at this time.
0 commit comments