summaryrefslogtreecommitdiff
path: root/src/control/CarCtrl.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-18 13:08:24 +0200
committerGitHub <noreply@github.com>2020-05-18 13:08:24 +0200
commit2d4861454c819f60ceca4ddd1d1ab6cfb3725d5e (patch)
treeda615f0e7ebbaf9c7c9e48ed283569e3056e3adb /src/control/CarCtrl.cpp
parent8f9ce275c877dc6eb17b9bfb49b5cc1e23e912df (diff)
parent5ab2c85e977ffa98a204fb64070ab8acbba214af (diff)
Merge pull request #557 from Nick007J/miami
script and script stubs
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r--src/control/CarCtrl.cpp4
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: