summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledoll.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-11 20:25:19 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-11 20:26:28 +0200
commit5c9aed9f7f934e6beb8e60bf20375442d0446ab1 (patch)
treeb0e903d82c70ff7f08aa492656ef7b2d589017bb /crawl-ref/source/tiledoll.cc
parent310f501f2099bede2387215b43f6335c14598781 (diff)
downloadcrawl-ref-5c9aed9f7f934e6beb8e60bf20375442d0446ab1.tar.gz
crawl-ref-5c9aed9f7f934e6beb8e60bf20375442d0446ab1.zip
Two new artefact bardings. (Hate hate hate hate tile barding code)
Too angry to check if webtiles work, sorry. The properties are the initial draft too -- need to decide who shouted loudest during the debate and change it accordingly.
Diffstat (limited to 'crawl-ref/source/tiledoll.cc')
-rw-r--r--crawl-ref/source/tiledoll.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/tiledoll.cc b/crawl-ref/source/tiledoll.cc
index 90699b4195..b47918ccff 100644
--- a/crawl-ref/source/tiledoll.cc
+++ b/crawl-ref/source/tiledoll.cc
@@ -458,7 +458,8 @@ void pack_doll_buf(SubmergedTileBuffer& buf, const dolls_data &doll, int x, int
TILEP_BASE_NAGA);
if (doll.parts[TILEP_PART_BOOTS] >= TILEP_BOOTS_NAGA_BARDING
- && doll.parts[TILEP_PART_BOOTS] <= TILEP_BOOTS_NAGA_BARDING_RED)
+ && doll.parts[TILEP_PART_BOOTS] <= TILEP_BOOTS_NAGA_BARDING_RED
+ || doll.parts[TILEP_PART_BOOTS] == TILEP_BOOTS_LIGHTNING_SCALES)
{
flags[TILEP_PART_BOOTS] = is_naga ? TILEP_FLAG_NORMAL : TILEP_FLAG_HIDE;
}
@@ -467,7 +468,8 @@ void pack_doll_buf(SubmergedTileBuffer& buf, const dolls_data &doll, int x, int
TILEP_BASE_CENTAUR);
if (doll.parts[TILEP_PART_BOOTS] >= TILEP_BOOTS_CENTAUR_BARDING
- && doll.parts[TILEP_PART_BOOTS] <= TILEP_BOOTS_CENTAUR_BARDING_RED)
+ && doll.parts[TILEP_PART_BOOTS] <= TILEP_BOOTS_CENTAUR_BARDING_RED
+ || doll.parts[TILEP_PART_BOOTS] == TILEP_BOOTS_BLACK_KNIGHT)
{
flags[TILEP_PART_BOOTS] = is_cent ? TILEP_FLAG_NORMAL : TILEP_FLAG_HIDE;
}