summaryrefslogtreecommitdiff
path: root/src/landscape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/landscape.h')
-rw-r--r--src/landscape.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/landscape.h b/src/landscape.h
index d505d6834..c2c20a4fe 100644
--- a/src/landscape.h
+++ b/src/landscape.h
@@ -15,10 +15,8 @@
#include "core/geometry_type.hpp"
#include "tile_cmd.h"
-enum {
- SNOW_LINE_MONTHS = 12, ///< Number of months in the snow line table.
- SNOW_LINE_DAYS = 32, ///< Number of days in each month in the snow line table.
-};
+static const uint SNOW_LINE_MONTHS = 12; ///< Number of months in the snow line table.
+static const uint SNOW_LINE_DAYS = 32; ///< Number of days in each month in the snow line table.
/** Structure describing the height of the snow line each day of the year
* @ingroup SnowLineGroup */