summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-11 09:37:10 +0100
committeraap <aap@papnet.eu>2020-11-11 09:38:33 +0100
commit48d0653331c8b1debc9d985131c9ea31a0e0c97f (patch)
treeaadeefe2bf09efd2dde21fefed5a8cf0ed553518 /src/vehicles/Boat.cpp
parentmove stuff into define (diff)
parentMerge pull request #771 from theR4K/miamiDev (diff)
downloadre3-48d0653331c8b1debc9d985131c9ea31a0e0c97f.tar
re3-48d0653331c8b1debc9d985131c9ea31a0e0c97f.tar.gz
re3-48d0653331c8b1debc9d985131c9ea31a0e0c97f.tar.bz2
re3-48d0653331c8b1debc9d985131c9ea31a0e0c97f.tar.lz
re3-48d0653331c8b1debc9d985131c9ea31a0e0c97f.tar.xz
re3-48d0653331c8b1debc9d985131c9ea31a0e0c97f.tar.zst
re3-48d0653331c8b1debc9d985131c9ea31a0e0c97f.zip
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r--src/vehicles/Boat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index bf42f2a8..7fea8c6e 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "common.h"
#include "main.h"
#include "General.h"
@@ -146,7 +146,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);
}
}