summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Train.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-23 15:56:34 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-23 15:56:34 +0200
commitca497e2cbdb1130a402a84b3a4e632c26af751df (patch)
treef5d91e7d998861e5a4dbb39f44e748ac5691d7aa /src/vehicles/Train.cpp
parentMissed nil (diff)
downloadre3-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 'src/vehicles/Train.cpp')
-rw-r--r--src/vehicles/Train.cpp2
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