summaryrefslogtreecommitdiff
path: root/src/viewport_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport_type.h')
-rw-r--r--src/viewport_type.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h
index 8f65f8506..f815712d4 100644
--- a/src/viewport_type.h
+++ b/src/viewport_type.h
@@ -63,10 +63,8 @@ enum ZoomStateChange {
* z=6 reserved, currently unused.
* z=7 Z separator between bridge/tunnel and the things under/above it.
*/
-enum {
- BB_HEIGHT_UNDER_BRIDGE = 6, ///< Everything that can be built under low bridges, must not exceed this Z height.
- BB_Z_SEPARATOR = 7, ///< Separates the bridge/tunnel from the things under/above it.
-};
+static const uint BB_HEIGHT_UNDER_BRIDGE = 6; ///< Everything that can be built under low bridges, must not exceed this Z height.
+static const uint BB_Z_SEPARATOR = 7; ///< Separates the bridge/tunnel from the things under/above it.
/** Viewport place method (type of highlighted area and placed objects) */
enum ViewportPlaceMethod {