Skip to content

Commit e4c4c18

Browse files
committed
Rename variable
1 parent 5b5a88e commit e4c4c18

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Client/mods/deathmatch/logic/CClientVehicle.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,15 +1578,15 @@ void CClientVehicle::SetHeliRotorSpeed(float fSpeed)
15781578

15791579
bool 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

15841584
void 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

15921592
void CClientVehicle::SetPlaneRotorSpeed(float fSpeed)

Client/mods/deathmatch/logic/CClientVehicle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)