diff options
Diffstat (limited to '')
-rw-r--r-- | src/Map.cpp | 17 |
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); |