summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-02-14 16:38:22 +0100
committerandrew <xdotftw@gmail.com>2014-02-14 16:38:22 +0100
commitc7fb00085854ed76b8b8945968de0505b8fbe8a2 (patch)
treecc8305ba5910e7b681e6c8c8df79f5ee0579bece /src/Map.cpp
parentSend map when selected (diff)
downloadcuberite-c7fb00085854ed76b8b8945968de0505b8fbe8a2.tar
cuberite-c7fb00085854ed76b8b8945968de0505b8fbe8a2.tar.gz
cuberite-c7fb00085854ed76b8b8945968de0505b8fbe8a2.tar.bz2
cuberite-c7fb00085854ed76b8b8945968de0505b8fbe8a2.tar.lz
cuberite-c7fb00085854ed76b8b8945968de0505b8fbe8a2.tar.xz
cuberite-c7fb00085854ed76b8b8945968de0505b8fbe8a2.tar.zst
cuberite-c7fb00085854ed76b8b8945968de0505b8fbe8a2.zip
Diffstat (limited to 'src/Map.cpp')
-rw-r--r--src/Map.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Map.cpp b/src/Map.cpp
index 4acd9512c..497cc9659 100644
--- a/src/Map.cpp
+++ b/src/Map.cpp
@@ -15,8 +15,8 @@
cMap::cMap(unsigned int a_ID, cWorld * a_World)
: m_ID(a_ID)
- , m_Width(128)
- , m_Height(128)
+ , m_Width(cChunkDef::Width * 8)
+ , m_Height(cChunkDef::Width * 8)
, m_Scale(3)
, m_CenterX(0)
, m_CenterZ(0)
@@ -31,8 +31,8 @@ cMap::cMap(unsigned int a_ID, cWorld * a_World)
cMap::cMap(unsigned int a_ID, int a_CenterX, int a_CenterZ, cWorld * a_World, unsigned int a_Scale)
: m_ID(a_ID)
- , m_Width(128)
- , m_Height(128)
+ , m_Width(cChunkDef::Width * 8)
+ , m_Height(cChunkDef::Width * 8)
, m_Scale(a_Scale)
, m_CenterX(a_CenterX)
, m_CenterZ(a_CenterZ)