Update to 13.0-beta1
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ bool HasAnyRoadTypesAvail(CompanyID company, RoadTramType rtt)
|
||||
*/
|
||||
bool ValParamRoadType(RoadType roadtype)
|
||||
{
|
||||
return roadtype != INVALID_ROADTYPE && HasRoadTypeAvail(_current_company, roadtype);
|
||||
return roadtype < ROADTYPE_END && HasRoadTypeAvail(_current_company, roadtype);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user