diff options
author | truebrain <truebrain@openttd.org> | 2009-01-16 00:27:22 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2009-01-16 00:27:22 +0000 |
commit | b8d2049bc402a3861189eb685c67ed99b6c31d1a (patch) | |
tree | 84a75d896cefa4f1e91743726c2783e41a4fa786 /src/ai/api | |
parent | 94dd36d1eceb487616f9f0ea260fbe00d84cc267 (diff) | |
download | openttd-b8d2049bc402a3861189eb685c67ed99b6c31d1a.tar.xz |
(svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo)
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_event_types.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/api/ai_event_types.cpp b/src/ai/api/ai_event_types.cpp index 07b324cfa..b865ca59d 100644 --- a/src/ai/api/ai_event_types.cpp +++ b/src/ai/api/ai_event_types.cpp @@ -173,10 +173,10 @@ Money AIEventEnginePreview::GetRunningCost() AIVehicle::VehicleType AIEventEnginePreview::GetVehicleType() { switch (::GetEngine(engine)->type) { - case VEH_ROAD: return AIVehicle::VEHICLE_ROAD; - case VEH_TRAIN: return AIVehicle::VEHICLE_RAIL; - case VEH_SHIP: return AIVehicle::VEHICLE_WATER; - case VEH_AIRCRAFT: return AIVehicle::VEHICLE_AIR; + case VEH_ROAD: return AIVehicle::VT_ROAD; + case VEH_TRAIN: return AIVehicle::VT_RAIL; + case VEH_SHIP: return AIVehicle::VT_WATER; + case VEH_AIRCRAFT: return AIVehicle::VT_AIR; default: NOT_REACHED(); } } |