Skip to content

Correct constraint index for Mack_Truck_Post_Trailer#61

Open
Umoxfo wants to merge 1 commit intosimutrans:masterfrom
Umoxfo:fix_mack_truck_post_trailer
Open

Correct constraint index for Mack_Truck_Post_Trailer#61
Umoxfo wants to merge 1 commit intosimutrans:masterfrom
Umoxfo:fix_mack_truck_post_trailer

Conversation

@Umoxfo
Copy link
Contributor

@Umoxfo Umoxfo commented Mar 19, 2026

Fix duplicate constraint index in vehicles/road-psg+mail/mack_truck_post_trailer.dat

The ScaniaR620Topline entry used constraint[prev][3], which was being ignored because it overlapped with the ScaniaR500Topline entry.

Change the index to constraint[prev][4] so both entries are preserved.

Fix duplicate constraint index in `vehicles/road-psg+mail/mack_truck_post_trailer.dat`

The `ScaniaR620Topline` entry used `constraint[prev][3]`, which was
being ignored because it overlapped with the `ScaniaR500Topline` entry.

Change the index to `constraint[prev][4]` so both entries are preserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant