Uneeded property.

This commit is contained in:
King_DuckZ 2015-06-06 14:14:46 +02:00
parent ab6ef6c338
commit f54da89531
2 changed files with 0 additions and 4 deletions

View file

@ -41,7 +41,6 @@ namespace dkh {
std::vector<MapTileType> m_wholedata; std::vector<MapTileType> m_wholedata;
const coords m_mapSize; const coords m_mapSize;
const coords m_tileSize; const coords m_tileSize;
std::size_t m_bytepos;
const dk::MapTypes m_mapType; const dk::MapTypes m_mapType;
}; };
} //namespace dkh } //namespace dkh

View file

@ -13,7 +13,6 @@ namespace dkh {
AsciiMapSource::AsciiMapSource (const char* parFilename, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : AsciiMapSource::AsciiMapSource (const char* parFilename, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) :
m_mapSize(parSize), m_mapSize(parSize),
m_tileSize(parTileSize), m_tileSize(parTileSize),
m_bytepos(0),
m_mapType(parMapType) m_mapType(parMapType)
{ {
std::ifstream src(parFilename); 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) : AsciiMapSource::AsciiMapSource (const std::string& parFilename, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) :
m_mapSize(parSize), m_mapSize(parSize),
m_tileSize(parTileSize), m_tileSize(parTileSize),
m_bytepos(0),
m_mapType(parMapType) m_mapType(parMapType)
{ {
std::ifstream src(parFilename); std::ifstream src(parFilename);
@ -37,7 +35,6 @@ namespace dkh {
AsciiMapSource::AsciiMapSource (std::istream& parData, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) : AsciiMapSource::AsciiMapSource (std::istream& parData, const coords& parSize, dk::MapTypes parMapType, const coords& parTileSize) :
m_mapSize(parSize), m_mapSize(parSize),
m_tileSize(parTileSize), m_tileSize(parTileSize),
m_bytepos(0),
m_mapType(parMapType) m_mapType(parMapType)
{ {
parse_map_data(parData); parse_map_data(parData);