Commit 491bddb
authored
Fix client spoiler upgrade placement on unsupported vehicle models (#4824)
Prevent slot-2 spoiler upgrades from being applied when the vehicle
model lacks ug_spoiler support. This avoids SA fallback frame
substitution that places spoilers inside the cabin or at incorrect
offsets. Applied the check in ForceAddUpgrade before calling
AddVehicleUpgrade. Tested with a resource: supported models still get
spoilers (e.g via autopimp in race); unsupported models no longer get
mispositioned spoilers.1 parent 076b44d commit 491bddb
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
613 | 627 | | |
614 | 628 | | |
615 | 629 | | |
| |||
0 commit comments