diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 09:44:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 09:44:44 +0000 |
commit | 398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb (patch) | |
tree | 54de30f4702263ee1489af162d6da840e35c0a87 /src/bridge.h | |
parent | 793b0f0736ac543fb1f6a7e9a4bfd678891e7374 (diff) | |
download | openttd-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/bridge.h')
-rw-r--r-- | src/bridge.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bridge.h b/src/bridge.h index 052313e24..771833347 100644 --- a/src/bridge.h +++ b/src/bridge.h @@ -32,9 +32,7 @@ enum BridgePieces { DECLARE_POSTFIX_INCREMENT(BridgePieces) -enum { - MAX_BRIDGES = 13 -}; +static const uint MAX_BRIDGES = 13; typedef uint BridgeType; |