summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-03-14 01:59:53 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-03-14 01:59:53 +0100
commite94886c14068eb3b9f70e4ec4ae02b7f832b8fdc (patch)
treeacbad702bb021448d18274e2f981587fdd918927 /src/Map.cpp
parentMerge pull request #1809 from flx5/master (diff)
downloadcuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.gz
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.bz2
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.lz
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.xz
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.zst
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.zip
Diffstat (limited to 'src/Map.cpp')
-rw-r--r--src/Map.cpp4
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
{