summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-10 22:08:54 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-10 22:08:54 +0100
commit612a6dd06c9f6baa10c67c208cb4c98ca2e483f6 (patch)
tree54ac41114279176d357d421cee97ef8844d6dd53 /src/vehicles
parentCWorld done (diff)
parentMerge pull request #771 from theR4K/miamiDev (diff)
downloadre3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.gz
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.bz2
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.lz
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.xz
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.zst
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp2
-rw-r--r--src/vehicles/Boat.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 881dbf4b..8d95bcd9 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -1494,7 +1494,7 @@ CAutomobile::ProcessControl(void)
blade = Multiply3x3(blade, GetMatrix());
camDist /= Max(Sqrt(distSq), 0.01f);
if(Abs(DotProduct(camDist, blade)) > 0.95f){
- DMAudio.PlayOneShot(m_audioEntityId, SOUND_31, 0.0f);
+ DMAudio.PlayOneShot(m_audioEntityId, SOUND_HELI_BLADE, 0.0f);
m_fPropellerRotation = m_aWheelRotation[1];
}
}
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 8b5de929..239cb9a1 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "common.h"
#include "General.h"
#include "Timecycle.h"
@@ -145,7 +145,7 @@ CBoat::ProcessControl(void)
AutoPilot.m_nCarMission == MISSION_BLOCKPLAYER_CLOSE ||
AutoPilot.m_nCarMission == MISSION_ATTACKPLAYER) &&
CTimer::GetTimeInMilliseconds() > m_nPoliceShoutTimer){
- DMAudio.PlayOneShot(m_audioEntityId, SOUND_115, 0.0f);
+ DMAudio.PlayOneShot(m_audioEntityId, SOUND_PED_VCPA_PLAYER_FOUND, 0.0f);
m_nPoliceShoutTimer = CTimer::GetTimeInMilliseconds() + 4500 + (CGeneral::GetRandomNumber()&0xFFF);
}
}