diff --git a/OpenRa.Game/Orders/NetworkOrderSource.cs b/OpenRa.Game/Orders/NetworkOrderSource.cs index ce0bc2de4a..cf3c24f79c 100644 --- a/OpenRa.Game/Orders/NetworkOrderSource.cs +++ b/OpenRa.Game/Orders/NetworkOrderSource.cs @@ -65,7 +65,7 @@ namespace OpenRa.Orders } } } - catch (IOException e) + catch (IOException) { State = ConnectionState.NotConnected; } diff --git a/OpenRa.Game/TerrainCosts.cs b/OpenRa.Game/TerrainCosts.cs index b074d47a8f..f794344c77 100644 --- a/OpenRa.Game/TerrainCosts.cs +++ b/OpenRa.Game/TerrainCosts.cs @@ -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 ]; } } diff --git a/rules.ini b/rules.ini index 1bb007ac1a..b58fd7412b 100644 --- a/rules.ini +++ b/rules.ini @@ -2525,6 +2525,14 @@ Wheel=0% Float=0% Buildable=no +; special tile for bridge hacks +[Special] +Foot=100% +Track=100% +Wheel=100% +Float=100% +Buildable=no + ; ******* Random Crate Powerups ******* ; This specifies the chance for the specified crate powerup to appear