diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-17 21:43:11 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-17 21:43:11 +0300 |
commit | a5b84eb9fe32689f0aee10077854a3652c986c08 (patch) | |
tree | c8e5e5c72db293ca86bdadbc023f3997b05df947 /src/control/CarCtrl.cpp | |
parent | 5c8888d2edb4f77a30ca52c5a48669d937ae9ef2 (diff) |
full script basic support
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r-- | src/control/CarCtrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 956bad28..920fba81 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -655,10 +655,10 @@ CCarCtrl::GenerateOneRandomCar() } int nMadDrivers; switch (pVehicle->GetVehicleAppearance()) { - case VEHICLE_BIKE: + case VEHICLE_APPEARANCE_BIKE: nMadDrivers = 30; break; - case VEHICLE_BOAT: + case VEHICLE_APPEARANCE_BOAT: nMadDrivers = 40; break; default: |