diff options
author | rubidium <rubidium@openttd.org> | 2007-07-26 16:51:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-26 16:51:10 +0000 |
commit | 903a0a08c2ca853d8eeb3aa00caf7afa7faf53de (patch) | |
tree | 4b6a986aa841f12efff161e45aacd1a023cff71d /src/newgrf_house.cpp | |
parent | a67957866a9006e05158b9735b228bd5b93390a0 (diff) | |
download | openttd-903a0a08c2ca853d8eeb3aa00caf7afa7faf53de.tar.xz |
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r-- | src/newgrf_house.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp index 533bf561f..bbc7c19c8 100644 --- a/src/newgrf_house.cpp +++ b/src/newgrf_house.cpp @@ -351,7 +351,7 @@ void DrawNewHouseTile(TileInfo *ti, HouseID house_id) const SpriteGroup *group; ResolverObject object; - if (ti->tileh != SLOPE_FLAT) DrawFoundation(ti, ti->tileh); + if (ti->tileh != SLOPE_FLAT) DrawFoundation(ti, FOUNDATION_LEVELED); NewHouseResolver(&object, house_id, ti->tile, GetTownByTile(ti->tile)); |