@@ -3702,7 +3702,7 @@ void CAEVehicleAudioEntity::ProcessPlayerSeaPlane(tVehicleParams& vp) {
37023702 // 0x4FF5F1
37033703 CalculatePlanePropFreq (vp, GetAircraftAcceleration (vp));
37043704
3705- const auto propSpeed = veh->m_fPropSpeed / 0 .22f ;
3705+ const auto propSpeed = veh->m_EngineSpeed / 0 .22f ;
37063706 const auto camPoVFactor = GetAircraftCameraPoVFactor (veh);
37073707 const auto sf = GetDummyRCRotorSpeedFactor (propSpeed);
37083708 PlayAircraftSound ( // 0x4FF74A
@@ -4137,14 +4137,14 @@ void CAEVehicleAudioEntity::ProcessBoatEngine(tVehicleParams& vp) {
41374137 }
41384138
41394139 // Engine speed factor
4140- const auto es = std::clamp (boat->m_fPropSpeed * 3 .f , 0 .f , 1 .f );
4140+ const auto es = std::clamp (boat->m_EngineSpeed * 3 .f , 0 .f , 1 .f );
41414141
41424142 // 0x5004C7 - Calculate speed
41434143 {
41444144 const auto roll = std::min (1 .f , 1 .f - boat->GetUp ().Dot (CVector::ZAxisVector ()));
41454145 const auto speed = cfg->FrqEngineBase
41464146 + roll * cfg->FrqEngineRollFactor
4147- + es * (boat->m_nBoatFlags .bOnWater ? cfg->FrqEngineOnWaterFactor : cfg->FrqEngineInAirFactor );
4147+ + es * (boat->m_nBoatFlags .bBoatInWater ? cfg->FrqEngineOnWaterFactor : cfg->FrqEngineInAirFactor );
41484148 m_CurrentDummyEngineFrequency = m_CurrentDummyEngineFrequency >= 0 .f
41494149 ? notsa::step_to (m_CurrentDummyEngineFrequency, speed, 0 .02f , notsa::bugfixes::GenericFrameRate)
41504150 : speed;
@@ -4176,7 +4176,7 @@ void CAEVehicleAudioEntity::ProcessBoatMovingOverWater(tVehicleParams& vp) {
41764176
41774177 const auto sf = std::min (0 .75f , std::abs (vp.Speed )) / 0 .75f ;
41784178
4179- auto volume = boat->m_nBoatFlags .bOnWater && sf >= 0 .00001f
4179+ auto volume = boat->m_nBoatFlags .bBoatInWater && sf >= 0 .00001f
41804180 ? (m_AuSettings.IsSeaplane () ? cfg->VolBaseOfSeaplane : cfg->VolBase ) + CAEAudioUtility::AudioLog10 (sf) * 20 .f
41814181 : -100 .f ;
41824182 auto speed = cfg->FrqBase + cfg->FrqSpeedFactor * sf;
0 commit comments