summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorMichael Gagno <evilmike@gmail.com>2012-07-03 02:48:00 -0700
committerMichael Gagno <evilmike@gmail.com>2012-07-03 02:48:00 -0700
commita86d5194b1f9ece1c597e17a464f0f7d808d650b (patch)
tree9d46df6f091ebb304bcfb9087ec3e0cf130f05ff /crawl-ref/source/tiledgnbuf.cc
parentab58638c90c94c31eec8fc93e979037c999ecf13 (diff)
downloadcrawl-ref-a86d5194b1f9ece1c597e17a464f0f7d808d650b.tar.gz
crawl-ref-a86d5194b1f9ece1c597e17a464f0f7d808d650b.zip
Rename swamp trees to mangroves.
Since these are opaque (and therefore behave differently from normal trees), a renaming is warranted.
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r--crawl-ref/source/tiledgnbuf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc
index 524bc7e9ce..e1123094f2 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -209,7 +209,7 @@ void DungeonCellBuffer::pack_background(int x, int y, const packed_cell &cell)
const tileidx_t bg = cell.bg;
const tileidx_t bg_idx = cell.bg & TILE_FLAG_MASK;
- if (cell.swamp_tree_water && bg_idx > TILE_DNGN_UNSEEN)
+ if (cell.mangrove_water && bg_idx > TILE_DNGN_UNSEEN)
m_buf_feat.add(TILE_DNGN_SHALLOW_WATER, x, y);
if (bg_idx >= TILE_DNGN_FIRST_TRANSPARENT)
@@ -219,7 +219,7 @@ void DungeonCellBuffer::pack_background(int x, int y, const packed_cell &cell)
if (bg_idx > TILE_WALL_MAX)
add_blood_overlay(x, y, cell);
- add_dngn_tile(bg_idx, x, y, cell.swamp_tree_water);
+ add_dngn_tile(bg_idx, x, y, cell.mangrove_water);
if (bg_idx > TILE_DNGN_UNSEEN)
{