Added missing maxspeed:max
This commit is contained in:
parent
7d33d11a03
commit
aa05aad5b3
@ -61,6 +61,7 @@ public class Tag
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "maxspeed":
|
case "maxspeed":
|
||||||
|
case "maxspeed:max":
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
byte speed = Convert.ToByte(value);
|
byte speed = Convert.ToByte(value);
|
||||||
@ -111,8 +112,8 @@ public class Tag
|
|||||||
|
|
||||||
public static readonly Dictionary<WayType, byte> defaultSpeedCar = new() {
|
public static readonly Dictionary<WayType, byte> defaultSpeedCar = new() {
|
||||||
{ WayType.NONE, 0 },
|
{ WayType.NONE, 0 },
|
||||||
{ WayType.motorway, 100 },
|
{ WayType.motorway, 130 },
|
||||||
{ WayType.motorroad, 90 },
|
{ WayType.motorroad, 100 },
|
||||||
{ WayType.trunk, 85 },
|
{ WayType.trunk, 85 },
|
||||||
{ WayType.primary, 65 },
|
{ WayType.primary, 65 },
|
||||||
{ WayType.secondary, 60 },
|
{ WayType.secondary, 60 },
|
||||||
|
Reference in New Issue
Block a user