summaryrefslogtreecommitdiff
path: root/src/town_map.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-26 14:02:27 +0000
committersmatz <smatz@openttd.org>2009-06-26 14:02:27 +0000
commitb668c24d463ca8059fd9be59efddb39298de9646 (patch)
tree5fbd935d6d1dc65d5ebc160333b25c09e2e5b6c7 /src/town_map.h
parentaf78d6a9bbc4142958f07b8774ef28d0b7c22f49 (diff)
downloadopenttd-b668c24d463ca8059fd9be59efddb39298de9646.tar.xz
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
Diffstat (limited to 'src/town_map.h')
-rw-r--r--src/town_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_map.h b/src/town_map.h
index 66ff29cd0..24e4dd22a 100644
--- a/src/town_map.h
+++ b/src/town_map.h
@@ -193,7 +193,7 @@ static inline void MakeHouseTile(TileIndex t, TownID tid, byte counter, byte sta
SetHouseCompleted(t, stage == TOWN_HOUSE_COMPLETED);
_m[t].m5 = IsHouseCompleted(t) ? 0 : (stage << 3 | counter);
SetHouseAnimationFrame(t, 0);
- _me[t].m7 = GetHouseSpecs(type)->processing_time;
+ _me[t].m7 = HouseSpec::Get(type)->processing_time;
}
/**