diff --git a/include/doorkeeper/helpers/asciimapsource.hpp b/include/doorkeeper/helpers/asciimapsource.hpp index a8e0004..9bea378 100644 --- a/include/doorkeeper/helpers/asciimapsource.hpp +++ b/include/doorkeeper/helpers/asciimapsource.hpp @@ -41,7 +41,6 @@ namespace dkh { std::vector m_wholedata; const coords m_mapSize; const coords m_tileSize; - std::size_t m_bytepos; const dk::MapTypes m_mapType; }; } //namespace dkh diff --git a/src/asciimapsource.cpp b/src/asciimapsource.cpp index 4c886fd..33cba20 100644 --- a/src/asciimapsource.cpp +++ b/src/asciimapsource.cpp @@ -13,7 +13,6 @@ namespace dkh { AsciiMapSource::AsciiMapSource (const char* parFilename, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : m_mapSize(parSize), m_tileSize(parTileSize), - m_bytepos(0), m_mapType(parMapType) { std::ifstream src(parFilename); @@ -25,7 +24,6 @@ namespace dkh { AsciiMapSource::AsciiMapSource (const std::string& parFilename, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : m_mapSize(parSize), m_tileSize(parTileSize), - m_bytepos(0), m_mapType(parMapType) { std::ifstream src(parFilename); @@ -37,7 +35,6 @@ namespace dkh { AsciiMapSource::AsciiMapSource (std::istream& parData, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : m_mapSize(parSize), m_tileSize(parTileSize), - m_bytepos(0), m_mapType(parMapType) { parse_map_data(parData);