From 2cbe9ac217ebc0212b5bc9c69f6b95d7f141e962 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 16:33:32 +0300 Subject: remove unused variable from maplayer. --- src/maplayer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/maplayer.cpp') 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(nullptr)); } -- cgit v1.2.3-60-g2f50