diff options
author | celestar <celestar@openttd.org> | 2005-01-14 09:20:12 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-01-14 09:20:12 +0000 |
commit | febac23b25e468dbdc7491477d51458fff9e16ca (patch) | |
tree | ffb100e443120f881e94596910bf6feb7421f6ca /tunnelbridge_cmd.c | |
parent | 9e10458209fb9eaabb9192383614d950b572083c (diff) | |
download | openttd-febac23b25e468dbdc7491477d51458fff9e16ca.tar.xz |
(svn r1504) enummed town ratings (Jango)
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r-- | tunnelbridge_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index 135f7fd47..c4fe124ad 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -643,7 +643,7 @@ static int32 DoClearTunnel(uint tile, uint32 flags) UpdateSignalsOnSegment(tile, _updsignals_tunnel_dir[tile_dir]); UpdateSignalsOnSegment(endtile, _updsignals_tunnel_dir[endtile_dir]); if (_map_owner[tile] == OWNER_TOWN && _game_mode != GM_EDITOR) - ChangeTownRating(t, -250, 0); + ChangeTownRating(t, RATING_TUNNEL_BRIDGE_DOWN_STEP, RATING_TUNNEL_BRIDGE_MINIMUM); } return _price.clear_tunnel * (length + 1); } @@ -758,10 +758,10 @@ static int32 DoClearBridge(uint tile, uint32 flags) uint c = tile; uint16 new_data; - //checks if the owner is town then decrease town rating by 250 until + //checks if the owner is town then decrease town rating by RATING_TUNNEL_BRIDGE_DOWN_STEP until // you have a "Poor" (0) town rating if (_map_owner[tile] == OWNER_TOWN && _game_mode != GM_EDITOR) - ChangeTownRating(t, -250, 0); + ChangeTownRating(t, RATING_TUNNEL_BRIDGE_DOWN_STEP, RATING_TUNNEL_BRIDGE_MINIMUM); do { m5 = _map5[c]; |