summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-18 14:57:33 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-18 14:57:33 +0000
commitc74a157f8f99fa7fffa2547c92a76d8cb7eecdb5 (patch)
treef2cb42fae1ab3a17465e42833ffa91b5d02dbc1c /crawl-ref/source/items.cc
parentf35794fa75f96cf6c8d874581dde6c8bfba7941f (diff)
downloadcrawl-ref-c74a157f8f99fa7fffa2547c92a76d8cb7eecdb5.tar.gz
crawl-ref-c74a157f8f99fa7fffa2547c92a76d8cb7eecdb5.zip
Changes to the overview screen (%) - added abilities and made it scrollable.
Also, some more clean-up of tutorial.cc. As this involved a lot of spacing changes it was easier to just replace the file as a whole. Sorry about that. There are still some differences between the Linux and Windows versions that I don't really understand but using get_number_of_cols helps a lot. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1055 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index eb62d1fc99..946ae0b55c 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1568,7 +1568,7 @@ int move_item_to_player( int obj, int quant_got, bool quiet )
if (Options.tutorial_left)
{
taken_new_item(item.base_type);
- if (is_random_artefact(you.inv[freeslot]))
+ if (is_artefact(item) || get_equip_desc( item ) != ISFLAG_NO_DESC)
learned_something_new(TUT_SEEN_RANDART);
}