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, 3 insertions, 3 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index 3e9c47968..514a35858 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -56,7 +56,7 @@ MapLayer::MapLayer(int x, int y, int width, int height, bool fringeLayer):
MapLayer::~MapLayer()
{
config.removeListener("highlightAttackRange", this);
- delete[] mTiles;
+ delete [] mTiles;
delete_all(mTempRows);
mTempRows.clear();
}
@@ -534,7 +534,7 @@ SpecialLayer::~SpecialLayer()
delete mTiles[f];
mTiles[f] = nullptr;
}
- delete[] mTiles;
+ delete [] mTiles;
}
MapItem* SpecialLayer::getTile(int x, int y) const
@@ -722,7 +722,7 @@ void MapItem::draw(Graphics *graphics, int x, int y, int dx, int dy)
if (mImage)
graphics->drawImage(mImage, x, y);
- switch(mType)
+ switch (mType)
{
case ROAD:
case CROSS: