summaryrefslogtreecommitdiff
path: root/src/maplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r--src/maplayer.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index 686ab7a35..67df3930b 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -571,12 +571,10 @@ int MapLayer::getTileDrawWidth(const Image *img,
return c;
}
-SpecialLayer::SpecialLayer(const int width, const int height,
- const bool drawSprites) :
+SpecialLayer::SpecialLayer(const int width, const int height) :
mWidth(width),
mHeight(height),
- mTiles(new MapItem*[mWidth * mHeight]),
- mDrawSprites(drawSprites)
+ mTiles(new MapItem*[mWidth * mHeight])
{
std::fill_n(mTiles, mWidth * mHeight, static_cast<MapItem*>(nullptr));
}