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 /industry_cmd.c | |
parent | 9e10458209fb9eaabb9192383614d950b572083c (diff) | |
download | openttd-febac23b25e468dbdc7491477d51458fff9e16ca.tar.xz |
(svn r1504) enummed town ratings (Jango)
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index e8b00a8b7..dc7b9db00 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -408,7 +408,7 @@ int32 CmdDestroyIndustry(int x, int y, uint32 flags, uint32 p1, uint32 p2) if (flags & DC_EXEC) { DeleteIndustry(i); CreateEffectVehicleAbove(x + 8,y + 8, 2, EV_DEMOLISH); - ChangeTownRating(t, -1500, -1000); // penalty is 1500 + ChangeTownRating(t, RATING_INDUSTRY_DOWN_STEP, RATING_INDUSTRY_MINIMUM); } return (_price.build_industry >> 5) * _industry_type_costs[i->type]*2; |