summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-07 10:17:07 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-07 10:17:07 +0000
commitc59c58e7a4e34a1f46ece4a45096b955d6caba65 (patch)
tree0354c7fe6c3a8d23122e4ddbf6e67a46d3cb5fe1 /crawl-ref/source/effects.cc
parent085d445195e9621ca31d54076e1dabf11a09f9b6 (diff)
downloadcrawl-ref-c59c58e7a4e34a1f46ece4a45096b955d6caba65.tar.gz
crawl-ref-c59c58e7a4e34a1f46ece4a45096b955d6caba65.zip
Describing items now works better in shops (fixes 1749246.)
More consistency in type-ID vs. artefacts: knowing the type-ID of a specific ring won't property-ID or type-ID an artefact ring of the same type, and vice versa. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1781 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 656618228e..6b5825d3a7 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -798,7 +798,8 @@ bool acquirement(object_class_type force_class, int agent)
if (one_chance_in(3))
type_wanted = AMU_RAGE + random2(10);
- if (get_ident_type(OBJ_JEWELLERY, type_wanted) == ID_UNKNOWN_TYPE)
+ if (get_ident_type(OBJ_JEWELLERY, type_wanted) ==
+ ID_UNKNOWN_TYPE)
{
break;
}