From 5bf2039bbb0d1f27141f7962125cc3807659e056 Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Sun, 16 Mar 2014 20:55:09 +0100 Subject: [PATCH] Make sure whole map is always drawn --- TileGenerator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TileGenerator.cpp b/TileGenerator.cpp index 71468a4..3c11471 100644 --- a/TileGenerator.cpp +++ b/TileGenerator.cpp @@ -109,10 +109,10 @@ TileGenerator::TileGenerator(): m_zMax(INT_MIN), m_yMin(-30000), m_yMax(30000), - m_geomX(-50), - m_geomY(-50), - m_geomX2(50), - m_geomY2(50) + m_geomX(INT_MIN), + m_geomY(INT_MIN), + m_geomX2(INT_MAX), + m_geomY2(INT_MAX) { string colors_txt_data(reinterpret_cast(colors_txt), colors_txt_len); istringstream colors_stream(colors_txt_data);