diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-08-08 22:46:53 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-08-08 22:46:53 -0700 |
commit | e8a423da4561ea2857b89507334507d3b66421ef (patch) | |
tree | 6a36b5203eaba8a43e192947e9104d6aee43d547 /crawl-ref/source/tilereg-abl.cc | |
parent | c952f4c7234d2c3a30de457598f4e2a9a742009f (diff) | |
download | crawl-ref-e8a423da4561ea2857b89507334507d3b66421ef.tar.gz crawl-ref-e8a423da4561ea2857b89507334507d3b66421ef.zip |
Don't display MP cost for free abilities (offline tiles)
Diffstat (limited to 'crawl-ref/source/tilereg-abl.cc')
-rw-r--r-- | crawl-ref/source/tilereg-abl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg-abl.cc b/crawl-ref/source/tilereg-abl.cc index 5a4b957db8..1ef1243ac8 100644 --- a/crawl-ref/source/tilereg-abl.cc +++ b/crawl-ref/source/tilereg-abl.cc @@ -197,7 +197,7 @@ void AbilityRegion::pack_buffers() if (item.flag & TILEI_FLAG_CURSOR) m_buf.add_icons_tile(TILEI_CURSOR, x, y); - if (item.quantity != -1) + if (item.quantity > 0) // mp cost draw_number(x, y, item.quantity); if (item.tile) |