summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Train.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-04 05:03:12 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-04 05:03:12 +0200
commit016ebc0b00905c35ca16dcbd22c41fb4602c3e37 (patch)
tree5c08c95450e72b97934c20cf537a4b0d42189e71 /src/vehicles/Train.cpp
parentPedChat & PedDebug (diff)
downloadre3-016ebc0b00905c35ca16dcbd22c41fb4602c3e37.tar
re3-016ebc0b00905c35ca16dcbd22c41fb4602c3e37.tar.gz
re3-016ebc0b00905c35ca16dcbd22c41fb4602c3e37.tar.bz2
re3-016ebc0b00905c35ca16dcbd22c41fb4602c3e37.tar.lz
re3-016ebc0b00905c35ca16dcbd22c41fb4602c3e37.tar.xz
re3-016ebc0b00905c35ca16dcbd22c41fb4602c3e37.tar.zst
re3-016ebc0b00905c35ca16dcbd22c41fb4602c3e37.zip
Diffstat (limited to 'src/vehicles/Train.cpp')
-rw-r--r--src/vehicles/Train.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp
index 1d47ca3a..21cde17f 100644
--- a/src/vehicles/Train.cpp
+++ b/src/vehicles/Train.cpp
@@ -197,7 +197,7 @@ CTrain::ProcessControl(void)
if(m_bTrainStopping){
m_nDoorTimer = CTimer::GetTimeInMilliseconds() + 1000;
m_nDoorState = TRAIN_DOOR_OPENING;
- DMAudio.PlayOneShot(m_audioEntityId, SOUND_18, 0.0f);
+ DMAudio.PlayOneShot(m_audioEntityId, SOUND_TRAIN_DOOR_CLOSE, 0.0f);
}
break;
@@ -214,7 +214,7 @@ CTrain::ProcessControl(void)
if(!m_bTrainStopping){
m_nDoorTimer = CTimer::GetTimeInMilliseconds() + 1000;
m_nDoorState = TRAIN_DOOR_CLOSING;
- DMAudio.PlayOneShot(m_audioEntityId, SOUND_19, 0.0f);
+ DMAudio.PlayOneShot(m_audioEntityId, SOUND_TRAIN_DOOR_OPEN, 0.0f);
}
break;