summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-16 00:27:22 +0000
committertruebrain <truebrain@openttd.org>2009-01-16 00:27:22 +0000
commitb8d2049bc402a3861189eb685c67ed99b6c31d1a (patch)
tree84a75d896cefa4f1e91743726c2783e41a4fa786 /src/ai/api
parent94dd36d1eceb487616f9f0ea260fbe00d84cc267 (diff)
downloadopenttd-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.cpp8
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();
}
}