(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.

This commit is contained in:
frosch
2009-02-11 18:50:47 +00:00
parent 202e5ea78d
commit d5525b8f2d
6 changed files with 18 additions and 10 deletions

View File

@@ -157,7 +157,7 @@ bool CheckAllowRemoveRoad(TileIndex tile, RoadBits remove, Owner owner, RoadType
}
rating_decrease = RATING_ROAD_DOWN_STEP_INNER;
}
ChangeTownRating(t, rating_decrease, RATING_ROAD_MINIMUM);
ChangeTownRating(t, rating_decrease, RATING_ROAD_MINIMUM, flags);
return true;
}