(svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check.
This commit is contained in:
@@ -2392,6 +2392,7 @@ static bool IsUniqueVehicleName(const char *name)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case VEH_ROAD:
|
case VEH_ROAD:
|
||||||
|
if (!IsRoadVehFront(v)) continue;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VEH_AIRCRAFT:
|
case VEH_AIRCRAFT:
|
||||||
|
Reference in New Issue
Block a user