From 0bffa2935854d1b1d0110a33707650cafe084af7 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Fri, 18 Nov 2016 20:00:04 +0100 Subject: Removed ClientHandle.h dependencies from common headers. --- src/Map.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/Map.cpp') 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); -- cgit v1.2.3