summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-19 18:17:35 +0100
committerGitHub <noreply@github.com>2016-11-19 18:17:35 +0100
commit4ff997398773de36799b128bd4987cd36751f0c5 (patch)
tree2e102088f7f8c1bb4b398de9043cf36c4e42767a /src/Map.cpp
parentUpdated the Core. (diff)
parentRemoved ClientHandle.h dependencies from common headers. (diff)
downloadcuberite-4ff997398773de36799b128bd4987cd36751f0c5.tar
cuberite-4ff997398773de36799b128bd4987cd36751f0c5.tar.gz
cuberite-4ff997398773de36799b128bd4987cd36751f0c5.tar.bz2
cuberite-4ff997398773de36799b128bd4987cd36751f0c5.tar.lz
cuberite-4ff997398773de36799b128bd4987cd36751f0c5.tar.xz
cuberite-4ff997398773de36799b128bd4987cd36751f0c5.tar.zst
cuberite-4ff997398773de36799b128bd4987cd36751f0c5.zip
Diffstat (limited to 'src/Map.cpp')
-rw-r--r--src/Map.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Map.cpp b/src/Map.cpp
index 1ba27038e..5db09adba 100644
--- a/src/Map.cpp
+++ b/src/Map.cpp
@@ -10,19 +10,20 @@
#include "Entities/Player.h"
#include "FastRandom.h"
#include "Blocks/BlockHandler.h"
+#include "ClientHandle.h"
-cMap::cMap(unsigned int a_ID, cWorld * a_World)
- : m_ID(a_ID)
- , m_Width(cChunkDef::Width * 8)
- , m_Height(cChunkDef::Width * 8)
- , m_Scale(3)
- , m_CenterX(0)
- , m_CenterZ(0)
- , m_World(a_World)
+cMap::cMap(unsigned int a_ID, cWorld * a_World):
+ m_ID(a_ID),
+ m_Width(cChunkDef::Width * 8),
+ m_Height(cChunkDef::Width * 8),
+ m_Scale(3),
+ m_CenterX(0),
+ m_CenterZ(0),
+ m_World(a_World)
{
m_Data.assign(m_Width * m_Height, E_BASE_COLOR_TRANSPARENT);