summaryrefslogtreecommitdiff
path: root/src/genworld.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-09-20 19:15:31 +0000
committerterkhen <terkhen@openttd.org>2010-09-20 19:15:31 +0000
commitbce6328ed0910e210d6fc3e7ed748d976c0bfcd1 (patch)
tree3b4ded6224bb22b3c00a8f91983bfb5ebf6b1d65 /src/genworld.h
parente90930e5722a43741deef77de9c562283549faf1 (diff)
downloadopenttd-bce6328ed0910e210d6fc3e7ed748d976c0bfcd1.tar.xz
(svn r20833) -Fix (r20832): Remove a warning.
Diffstat (limited to 'src/genworld.h')
-rw-r--r--src/genworld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/genworld.h b/src/genworld.h
index 0fd6b4231..af8965caf 100644
--- a/src/genworld.h
+++ b/src/genworld.h
@@ -33,9 +33,9 @@ enum GenWorldMode {
GWM_HEIGHTMAP = 3, ///< Generate a newgame from a heightmap
};
-static const int CUSTOM_SEA_LEVEL_NUMBER_DIFFICULTY = 4; ///< Value for custom sea level in difficulty settings.
-static const int CUSTOM_SEA_LEVEL_MIN_PERCENTAGE = 1; ///< Minimum percentage a user can specify for custom sea level.
-static const int CUSTOM_SEA_LEVEL_MAX_PERCENTAGE = 90; ///< Maximum percentage a user can specify for custom sea level.
+static const uint CUSTOM_SEA_LEVEL_NUMBER_DIFFICULTY = 4; ///< Value for custom sea level in difficulty settings.
+static const uint CUSTOM_SEA_LEVEL_MIN_PERCENTAGE = 1; ///< Minimum percentage a user can specify for custom sea level.
+static const uint CUSTOM_SEA_LEVEL_MAX_PERCENTAGE = 90; ///< Maximum percentage a user can specify for custom sea level.
typedef void GWDoneProc(); ///< Procedure called when the genworld process finishes
typedef void GWAbortProc(); ///< Called when genworld is aborted