summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-12 16:33:19 +0000
committerfrosch <frosch@openttd.org>2013-10-12 16:33:19 +0000
commit6a0439a789fc3a5f8da55493b27d4c9c6c328b1b (patch)
tree7522f46ab9f0646d701a2803961ed400cfba338c /src/newgrf_house.cpp
parentad8b387f9eb8185f25948651b7a34f151812c31d (diff)
downloadopenttd-6a0439a789fc3a5f8da55493b27d4c9c6c328b1b.tar.xz
(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r--src/newgrf_house.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index 2f03060a6..38b127f97 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -27,7 +27,7 @@
static BuildingCounts<uint32> _building_counts;
static HouseClassMapping _class_mapping[HOUSE_CLASS_MAX];
-HouseOverrideManager _house_mngr(NEW_HOUSE_OFFSET, HOUSE_MAX, INVALID_HOUSE_ID);
+HouseOverrideManager _house_mngr(NEW_HOUSE_OFFSET, NUM_HOUSES, INVALID_HOUSE_ID);
/**
* Constructor of a house scope resolver.