summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-20 03:11:25 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-20 03:28:26 +0200
commit8e11520da146f4b6b39dadbbd4ced0237ca0b606 (patch)
tree46c2ca023d1e6f0aa16e774d6f43dbd50019664f /crawl-ref/source/tiledgnbuf.cc
parent9716a531a19f089821689a32910f9f5bf2864fe4 (diff)
downloadcrawl-ref-8e11520da146f4b6b39dadbbd4ced0237ca0b606.tar.gz
crawl-ref-8e11520da146f4b6b39dadbbd4ced0237ca0b606.zip
Drop pointless braces after if/for/while everywhere.
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r--crawl-ref/source/tiledgnbuf.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc
index 5ac12e0152..67e938a13c 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -421,9 +421,7 @@ void DungeonCellBuffer::pack_foreground(int x, int y, const packed_cell &cell)
// Tutorial cursor takes precedence over other cursors.
if (bg & TILE_FLAG_TUT_CURSOR)
- {
m_buf_icons.add(TILEI_TUTORIAL_CURSOR, x, y);
- }
else if (bg & TILE_FLAG_CURSOR)
{
int type = ((bg & TILE_FLAG_CURSOR) == TILE_FLAG_CURSOR1) ?