mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 08:11:49 +01:00
ProcessTrainAnnouncements fix
This commit is contained in:
parent
beb6f3bf80
commit
3231c6c3dd
@ -639,8 +639,8 @@ PlayAnnouncement(uint8 sound, uint8 station)
|
|||||||
void
|
void
|
||||||
ProcessTrainAnnouncements(void)
|
ProcessTrainAnnouncements(void)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < ARRAY_SIZE(StationDist); i++) {
|
||||||
for (int j = 0; j < 3; j++) {
|
for (int j = 0; j < ARRAY_SIZE(EngineTrackPosition); j++) {
|
||||||
if (!bTrainArrivalAnnounced[i]) {
|
if (!bTrainArrivalAnnounced[i]) {
|
||||||
float preDist = StationDist[i] - 100.0f;
|
float preDist = StationDist[i] - 100.0f;
|
||||||
if (preDist < 0.0f)
|
if (preDist < 0.0f)
|
||||||
|
Loading…
Reference in New Issue
Block a user