summaryrefslogtreecommitdiff
path: root/src/town.h
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/town.h
parentad8b387f9eb8185f25948651b7a34f151812c31d (diff)
downloadopenttd-6a0439a789fc3a5f8da55493b27d4c9c6c328b1b.tar.xz
(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town.h b/src/town.h
index 665b438ed..7251d6082 100644
--- a/src/town.h
+++ b/src/town.h
@@ -22,7 +22,7 @@
template <typename T>
struct BuildingCounts {
- T id_count[HOUSE_MAX];
+ T id_count[NUM_HOUSES];
T class_count[HOUSE_CLASS_MAX];
};