diff options
author | Mattes D <github@xoft.cz> | 2016-11-18 20:00:04 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-11-18 20:00:04 +0100 |
commit | 0bffa2935854d1b1d0110a33707650cafe084af7 (patch) | |
tree | 2e102088f7f8c1bb4b398de9043cf36c4e42767a /src/Map.cpp | |
parent | Updated the Core. (diff) | |
download | cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.gz cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.bz2 cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.lz cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.xz cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.zst cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.zip |
Diffstat (limited to 'src/Map.cpp')
-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); |