diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-23 15:56:34 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-23 15:56:34 +0200 |
commit | ca497e2cbdb1130a402a84b3a4e632c26af751df (patch) | |
tree | f5d91e7d998861e5a4dbb39f44e748ac5691d7aa /src/vehicles | |
parent | Missed nil (diff) | |
download | re3-ca497e2cbdb1130a402a84b3a4e632c26af751df.tar re3-ca497e2cbdb1130a402a84b3a4e632c26af751df.tar.gz re3-ca497e2cbdb1130a402a84b3a4e632c26af751df.tar.bz2 re3-ca497e2cbdb1130a402a84b3a4e632c26af751df.tar.lz re3-ca497e2cbdb1130a402a84b3a4e632c26af751df.tar.xz re3-ca497e2cbdb1130a402a84b3a4e632c26af751df.tar.zst re3-ca497e2cbdb1130a402a84b3a4e632c26af751df.zip |
Diffstat (limited to '')
-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 |