From febac23b25e468dbdc7491477d51458fff9e16ca Mon Sep 17 00:00:00 2001 From: celestar Date: Fri, 14 Jan 2005 09:20:12 +0000 Subject: (svn r1504) enummed town ratings (Jango) --- industry_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'industry_cmd.c') 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; -- cgit v1.2.3-54-g00ecf