diff options
author | rubidium <rubidium@openttd.org> | 2010-11-10 23:43:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-10 23:43:14 +0000 |
commit | ed18d02e9a18f52cff79bce4d01cbfe9faae2de4 (patch) | |
tree | 96aa45c14247e75526e67acafa2c14c46e2f9c83 /src/bridge.h | |
parent | 65e6c9fd12b0ac3fc25934c14771412a6a5538bd (diff) | |
download | openttd-ed18d02e9a18f52cff79bce4d01cbfe9faae2de4.tar.xz |
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
Diffstat (limited to 'src/bridge.h')
-rw-r--r-- | src/bridge.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bridge.h b/src/bridge.h index b0546669b..5f2c1db59 100644 --- a/src/bridge.h +++ b/src/bridge.h @@ -72,4 +72,7 @@ int CalcBridgeLenCostFactor(int x); void ResetBridges(); +static const uint MAX_BRIDGE_LENGTH = 16; ///< Maximum length of the bridge +static const uint MAX_BRIDGE_LENGTH_LONGBRIDGES = 100; ///< Maximum length of the bridge with longbridges enabled + #endif /* BRIDGE_H */ |