1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 17:39:09 +00:00

(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.

This commit is contained in:
frosch
2009-02-11 18:50:47 +00:00
parent 92584d0149
commit 032346cf8a
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;
}