summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index d01494927..2d2b865fa 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2392,6 +2392,7 @@ static bool IsUniqueVehicleName(const char *name)
break;
case VEH_ROAD:
+ if (!IsRoadVehFront(v)) continue;
break;
case VEH_AIRCRAFT: