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 | cafff6eb60515660a0fb11cba8d83d1b06ee63d4 (patch) | |
tree | 84a75d896cefa4f1e91743726c2783e41a4fa786 /src/ai/api | |
parent | bd520ca5623081bd00958a278b19b38d295a0324 (diff) | |
download | openttd-cafff6eb60515660a0fb11cba8d83d1b06ee63d4.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(); } } |