make that a real movement type
This commit is contained in:
@@ -65,7 +65,7 @@ namespace OpenRa.Orders
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
catch (IOException)
|
||||
{
|
||||
State = ConnectionState.NotConnected;
|
||||
}
|
||||
|
||||
@@ -47,7 +47,6 @@ namespace OpenRa
|
||||
|
||||
public static double Cost( UnitMovementType unitMovementType, int r )
|
||||
{
|
||||
if (r >= 10) return 1.0;
|
||||
return costs[ (byte)unitMovementType ][ r ];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user