Skip to content

Commit

Permalink
Update GetVehicleClass to add calss 22
Browse files Browse the repository at this point in the history
The open wheel class(22) is missing.
  • Loading branch information
Huki authored Sep 10, 2022
1 parent 4a831cb commit a6657ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions VEHICLE/GetVehicleClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Vehicle Classes:
19: Military
20: Commercial
21: Trains
22: Open Wheel
char buffer[128];
std::sprintf(buffer, "VEH_CLASS_%i", VEHICLE::GET_VEHICLE_CLASS(vehicle));
char* className = UI::_GET_LABEL_TEXT(buffer);
Expand Down

0 comments on commit a6657ac

Please sign in to comment.