diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-10-24 13:20:08 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-10-24 13:20:08 +0200 |
commit | 39b7075502b91172e557ec17932dfd68c7da96a1 (patch) | |
tree | 681194f8c652968c3e525d7c10c25d35e04d499b /src/vehicles/Train.cpp | |
parent | peds (diff) | |
parent | more ScriptSounds (diff) | |
download | re3-39b7075502b91172e557ec17932dfd68c7da96a1.tar re3-39b7075502b91172e557ec17932dfd68c7da96a1.tar.gz re3-39b7075502b91172e557ec17932dfd68c7da96a1.tar.bz2 re3-39b7075502b91172e557ec17932dfd68c7da96a1.tar.lz re3-39b7075502b91172e557ec17932dfd68c7da96a1.tar.xz re3-39b7075502b91172e557ec17932dfd68c7da96a1.tar.zst re3-39b7075502b91172e557ec17932dfd68c7da96a1.zip |
Diffstat (limited to 'src/vehicles/Train.cpp')
-rw-r--r-- | src/vehicles/Train.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp index 546f72c2..fb8361c5 100644 --- a/src/vehicles/Train.cpp +++ b/src/vehicles/Train.cpp @@ -663,6 +663,7 @@ PlayAnnouncement(uint8 sound, uint8 station) void ProcessTrainAnnouncements(void) { +#ifdef GTA_TRAIN for (int i = 0; i < ARRAY_SIZE(StationDist); i++) { for (int j = 0; j < ARRAY_SIZE(EngineTrackPosition); j++) { if (!bTrainArrivalAnnounced[i]) { @@ -691,6 +692,7 @@ ProcessTrainAnnouncements(void) } } } +#endif } void |