summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-10-24 18:10:51 +0200
committershfil <filip.gawin@zoho.com>2020-11-06 18:42:52 +0100
commite24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4 (patch)
treef724706d54937674b9631b7c2b7b7c6bf6d77a71 /src/vehicles/Boat.cpp
parentRwRenderStateGet (diff)
downloadre3-e24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4.tar
re3-e24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4.tar.gz
re3-e24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4.tar.bz2
re3-e24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4.tar.lz
re3-e24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4.tar.xz
re3-e24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4.tar.zst
re3-e24513d2ad2eaf86a4deaaadc96c0d1be31cc8a4.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 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);
}
}