We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9313be6 commit 4fcd4afCopy full SHA for 4fcd4af
src_rebuild/Game/C/event.c
@@ -1092,7 +1092,7 @@ void SetUpEvents(int full)
1092
missionTrain[1].engine = missionTrain[0].engine;
1093
1094
// add trains
1095
- while (n < count-1)
+ while (n < count)
1096
{
1097
// randomize carriage count
1098
if (n != 0)
@@ -4028,7 +4028,7 @@ void MultiCarEvent(MS_TARGET* target)
4028
ev->position.vx = mcd->x;
4029
ev->position.vz = mcd->z;
4030
4031
- ev->position.vy = -312;
+ ev->position.vy = -312; // MapHeight may not be available due to region is not yet loaded
4032
4033
ev->rotation = mcd->rot;
4034
0 commit comments