diff options
author | worktycho <work.tycho@gmail.com> | 2015-03-15 13:16:37 +0100 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-03-15 13:16:37 +0100 |
commit | 83531707f3219490eb8ad1e2a7308ff7d4c5fde1 (patch) | |
tree | b379005ad92e48bb696b40fa1b05a35034498710 /src/Map.cpp | |
parent | Merge pull request #1734 from mc-server/pistons (diff) | |
parent | Use thread_local in cFastRandom (diff) | |
download | cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.gz cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.bz2 cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.lz cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.xz cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.zst cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Map.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Map.cpp b/src/Map.cpp index fbde00cf7..5e57cc8ec 100644 --- a/src/Map.cpp +++ b/src/Map.cpp @@ -66,10 +66,8 @@ void cMapDecorator::Update(void) { cFastRandom Random; - Int64 WorldAge = m_Player->GetWorld()->GetWorldAge(); - // TODO 2014-02-19 xdot: Refine - m_Rot = Random.NextInt(16, (int) WorldAge); + m_Rot = Random.NextInt(16); } else { |