(svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge.

This commit is contained in:
alberth
2010-04-04 14:22:55 +00:00
parent fb4ca3e569
commit fa8f227a97
4 changed files with 16 additions and 11 deletions

View File

@@ -67,7 +67,7 @@ static inline const BridgeSpec *GetBridgeSpec(BridgeType i)
void DrawBridgeMiddle(const TileInfo *ti);
bool CheckBridgeAvailability(BridgeType bridge_type, uint bridge_len, DoCommandFlag flags = DC_NONE);
CommandCost CheckBridgeAvailability(BridgeType bridge_type, uint bridge_len, DoCommandFlag flags = DC_NONE);
int CalcBridgeLenCostFactor(int x);
void ResetBridges();