aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-09-17 02:57:10 -0400
committerkwolekr <kwolekr@minetest.net>2013-11-04 23:59:26 -0500
commite46c5277334e7435b74eedba7fdfe2c773f48d06 (patch)
tree9f5ebc7fc83d5436e1931f1118b76e021b2246d4 /src/map.cpp
parent1a96987d0fbbcf689825851ee282fe79e4658c02 (diff)
downloadminetest-e46c5277334e7435b74eedba7fdfe2c773f48d06.tar.gz
minetest-e46c5277334e7435b74eedba7fdfe2c773f48d06.tar.bz2
minetest-e46c5277334e7435b74eedba7fdfe2c773f48d06.zip
Accept hexadecimal and string values for seeds
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 968897c0c..cea20b0d3 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -3507,7 +3507,7 @@ void ServerMap::loadMapMeta()
m_seed = mgparams->seed;
} else {
if (params.exists("seed")) {
- m_seed = params.getU64("seed");
+ m_seed = read_seed(params.get("seed").c_str());
m_mgparams->seed = m_seed;
}
}