summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)