summaryrefslogtreecommitdiff
path: root/src/genworld.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld.h')
-rw-r--r--src/genworld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld.h b/src/genworld.h
index 8bc476dbc..520657862 100644
--- a/src/genworld.h
+++ b/src/genworld.h
@@ -15,7 +15,7 @@ enum {
LG_ORIGINAL = 0, ///< The original landscape generator
LG_TERRAGENESIS = 1, ///< TerraGenesis Perlin landscape generator
- GENERATE_NEW_SEED = (uint)-1, ///< Create a new random seed
+ GENERATE_NEW_SEED = UINT_MAX, ///< Create a new random seed
};
/* Modes for GenerateWorld */