summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-01-14 09:20:12 +0000
committercelestar <celestar@openttd.org>2005-01-14 09:20:12 +0000
commitfebac23b25e468dbdc7491477d51458fff9e16ca (patch)
treeffb100e443120f881e94596910bf6feb7421f6ca /road_cmd.c
parent9e10458209fb9eaabb9192383614d950b572083c (diff)
downloadopenttd-febac23b25e468dbdc7491477d51458fff9e16ca.tar.xz
(svn r1504) enummed town ratings (Jango)
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c
index 2c6c56d4b..f46f3a0f5 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -212,7 +212,7 @@ int32 CmdRemoveRoad(int x, int y, uint32 flags, uint32 p1, uint32 p2)
// checks if the owner is town than decrease town rating by 50 until you have
// a "Poor" town rating
if(_map_owner[tile] == OWNER_TOWN && _game_mode != GM_EDITOR)
- ChangeTownRating(t, -_road_remove_cost[(byte)edge_road], -100);
+ ChangeTownRating(t, -_road_remove_cost[(byte)edge_road], RATING_ROAD_MINIMUM);
_map5[tile] ^= c;
if ((_map5[tile]&0xF) == 0)