summaryrefslogtreecommitdiff
path: root/src/genworld.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-10-14 18:38:51 +0000
committerrubidium <rubidium@openttd.org>2008-10-14 18:38:51 +0000
commit272b2ef0e9072c6bf2ee3083c3673ae7773462ab (patch)
treea41b987e5fdc223ac9abf159f9ee753f07f2234d /src/genworld.h
parent03bef3fb5b1c25cc887d51e13fd81c7c5129028b (diff)
downloadopenttd-272b2ef0e9072c6bf2ee3083c3673ae7773462ab.tar.xz
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
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 */