summaryrefslogtreecommitdiff
path: root/src/town_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-05-24 22:15:10 +0000
committerfrosch <frosch@openttd.org>2008-05-24 22:15:10 +0000
commitca30288c9d0057c62712973ae2c126195c8c9df5 (patch)
treee361e17a8b54a36b68f46f81c249e783be968d8e /src/town_type.h
parent6e7a7412cdb824dd53ca8470dcfbba1d07f891b8 (diff)
downloadopenttd-ca30288c9d0057c62712973ae2c126195c8c9df5.tar.xz
(svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
Diffstat (limited to 'src/town_type.h')
-rw-r--r--src/town_type.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/town_type.h b/src/town_type.h
index f1ffeea53..8a555a7c0 100644
--- a/src/town_type.h
+++ b/src/town_type.h
@@ -54,7 +54,8 @@ enum {
RATING_INDUSTRY_DOWN_STEP = -1500,
RATING_INDUSTRY_MINIMUM = RATING_MINIMUM,
- RATING_ROAD_DOWN_STEP = -50,
+ RATING_ROAD_DOWN_STEP_INNER = -50, ///< removing a roadpiece in the middle
+ RATING_ROAD_DOWN_STEP_EDGE = -18, ///< removing a roadpiece at the edge
RATING_ROAD_MINIMUM = -100,
RATING_HOUSE_MINIMUM = RATING_MINIMUM,