diff options
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_tunnel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/api/ai_tunnel.cpp b/src/ai/api/ai_tunnel.cpp index 911b4a6fd..65689a513 100644 --- a/src/ai/api/ai_tunnel.cpp +++ b/src/ai/api/ai_tunnel.cpp @@ -77,10 +77,10 @@ static void _DoCommandReturnBuildTunnel1(class AIInstance *instance) uint type = 0; if (vehicle_type == AIVehicle::VT_ROAD) { - type |= (TRANSPORT_ROAD << 9); + type |= (TRANSPORT_ROAD << 8); type |= ::RoadTypeToRoadTypes((::RoadType)AIObject::GetRoadType()); } else { - type |= (TRANSPORT_RAIL << 9); + type |= (TRANSPORT_RAIL << 8); type |= AIRail::GetCurrentRailType(); } |