diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-25 20:38:08 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-25 20:38:08 +0000 |
commit | a99482600e234c892e8d0c257c44ebbbef7053b8 (patch) | |
tree | 26d3ff8c3a571997b7c88929f16b9039aec0ea84 /crawl-ref/source/invent.cc | |
parent | 94d9e1a1dbf297d9882754d07021ddb2793657b2 (diff) | |
download | crawl-ref-a99482600e234c892e8d0c257c44ebbbef7053b8.tar.gz crawl-ref-a99482600e234c892e8d0c257c44ebbbef7053b8.zip |
* Use menu colours (rather than message colours) for item announcements
and the like.
* Fix 'V' if there are more than 52 monsters/items in the list.
* Make Xom act more often, with the probability depending strongly on
tension. Also tweak a few action probabilities according to tension,
so that e.g. summons are more likely for high tension.
* Fix monsters being created with large quantities of curare needles.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9546 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index d2f8447f14..95ae61ecee 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -619,8 +619,7 @@ static bool _compare_invmenu_items(const InvEntry *a, const InvEntry *b, const item_sort_comparators *cmps) { for (item_sort_comparators::const_iterator i = cmps->begin(); - i != cmps->end(); - ++i) + i != cmps->end(); ++i) { const int cmp = i->compare(a, b); if (cmp) |