forked from mirror/OpenTTD
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -32,9 +32,7 @@ enum BridgePieces {
|
||||
|
||||
DECLARE_POSTFIX_INCREMENT(BridgePieces)
|
||||
|
||||
enum {
|
||||
MAX_BRIDGES = 13
|
||||
};
|
||||
static const uint MAX_BRIDGES = 13;
|
||||
|
||||
typedef uint BridgeType;
|
||||
|
||||
|
Reference in New Issue
Block a user