mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 07:28:59 +00:00
ProcessTrainAnnouncements fix
This commit is contained in:
parent
beb6f3bf80
commit
3231c6c3dd
1 changed files with 2 additions and 2 deletions
|
@ -639,8 +639,8 @@ PlayAnnouncement(uint8 sound, uint8 station)
|
|||
void
|
||||
ProcessTrainAnnouncements(void)
|
||||
{
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 3; j++) {
|
||||
for (int i = 0; i < ARRAY_SIZE(StationDist); i++) {
|
||||
for (int j = 0; j < ARRAY_SIZE(EngineTrackPosition); j++) {
|
||||
if (!bTrainArrivalAnnounced[i]) {
|
||||
float preDist = StationDist[i] - 100.0f;
|
||||
if (preDist < 0.0f)
|
||||
|
|
Loading…
Reference in a new issue