diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-19 09:46:26 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-19 09:46:26 +0000 |
commit | 05a9956798b9ccc82b5ed32412d99f53c60b3b4d (patch) | |
tree | 615f50bf4b85428ecd3b84c0950fc62a07be70e6 /crawl-ref/source/invent.cc | |
parent | 361d79f1078a756eb41ddf14294cc017c38676a8 (diff) | |
download | crawl-ref-05a9956798b9ccc82b5ed32412d99f53c60b3b4d.tar.gz crawl-ref-05a9956798b9ccc82b5ed32412d99f53c60b3b4d.zip |
* Change Roxanne's spells to include Blink Other (instead of Sandblast)
as spell to fall back on if all others are out of range. (Fixes 2686559.)
* Fix 2690141: Tiles inventory leaking cursedness of items.
* Fix 2687108: inappropriate message flushing during repeat command.
* Fix opening/closing doors not updating exclusion los.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9516 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index 00b70258e5..df108101d2 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -484,12 +484,12 @@ bool InvEntry::get_tiles(std::vector<tile_def>& tileset) const const bool equipped = item_is_equipped(*item); if (equipped) { - if (item_cursed(*item)) + if (item_known_cursed(*item)) tileset.push_back(tile_def(TILE_ITEM_SLOT_EQUIP_CURSED, TEX_DEFAULT)); else tileset.push_back(tile_def(TILE_ITEM_SLOT_EQUIP, TEX_DEFAULT)); } - else if (item_cursed(*item)) + else if (item_known_cursed(*item)) tileset.push_back(tile_def(TILE_ITEM_SLOT_CURSED, TEX_DEFAULT)); tileset.push_back(tile_def(TILE_ITEM_SLOT, TEX_DUNGEON)); |