diff options
author | kwolekr <kwolekr@minetest.net> | 2016-06-04 01:35:37 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2016-06-04 01:51:44 -0400 |
commit | dfbdb5bcd7bc48efb21d585d5c22454a9d5f0f1e (patch) | |
tree | 20f2d5cbb64f1a6bf0ee2638f4396effb42d362b /src/mg_biome.h | |
parent | 2060fd9cbe587d7e8ffe0cecdd67925f13a56c05 (diff) | |
download | minetest-dfbdb5bcd7bc48efb21d585d5c22454a9d5f0f1e.tar.gz minetest-dfbdb5bcd7bc48efb21d585d5c22454a9d5f0f1e.tar.bz2 minetest-dfbdb5bcd7bc48efb21d585d5c22454a9d5f0f1e.zip |
Change internal type for seeds to s32
This fixes value truncation (and therefore incompatibility) on platforms
with an LP32 data model, such as VAX or MS-DOS.
Diffstat (limited to 'src/mg_biome.h')
-rw-r--r-- | src/mg_biome.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mg_biome.h b/src/mg_biome.h index e78e90e5f..389b7664f 100644 --- a/src/mg_biome.h +++ b/src/mg_biome.h @@ -80,7 +80,7 @@ struct BiomeParams { virtual void writeParams(Settings *settings) const = 0; virtual ~BiomeParams() {} - int seed; + s32 seed; }; class BiomeGen { |