Skip to content

Commit

Permalink
Merge pull request #812 from Hukitia/patch-1
Browse files Browse the repository at this point in the history
Update GetVehicleClass to add class 22
  • Loading branch information
blattersturm authored Sep 11, 2022
2 parents 4a831cb + a6657ac commit 52b486d
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 52b486d

Please sign in to comment.