summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
committerrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
commit398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb (patch)
tree54de30f4702263ee1489af162d6da840e35c0a87 /src/town.h
parent793b0f0736ac543fb1f6a7e9a4bfd678891e7374 (diff)
downloadopenttd-398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb.tar.xz
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
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 b1cae99cc..47e3313d3 100644
--- a/src/town.h
+++ b/src/town.h
@@ -173,7 +173,7 @@ static const byte TOWN_GROWTH_FREQUENCY = 70;
* per town, NO MATTER the population of it.
* And there are 5 more bits available on flags...
*/
-enum {
+enum TownFlags {
TOWN_IS_FUNDED = 0, ///< Town has received some funds for
TOWN_HAS_CHURCH = 1, ///< There can be only one church by town.
TOWN_HAS_STADIUM = 2 ///< There can be only one stadium by town.