diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-28 08:47:30 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-28 08:47:30 +0000 |
commit | 20a6609453ee2b51c388c296516c1abc1beab1d2 (patch) | |
tree | 201d735a3a4d66471005cb763078a6c05056752c /crawl-ref/source/delay.cc | |
parent | 7aed4c41d7fa0f9d70df56a82abbe69061e56269 (diff) | |
download | crawl-ref-20a6609453ee2b51c388c296516c1abc1beab1d2.tar.gz crawl-ref-20a6609453ee2b51c388c296516c1abc1beab1d2.zip |
Preliminary integration of Zooko's Xom patch (untested).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1489 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r-- | crawl-ref/source/delay.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc index 45ccbcd05f..bf68aec5c8 100644 --- a/crawl-ref/source/delay.cc +++ b/crawl-ref/source/delay.cc @@ -35,6 +35,7 @@ #include "output.h" #include "player.h" #include "randart.h" +#include "religion.h" #include "spl-util.h" #include "stuff.h" #include "travel.h" @@ -741,9 +742,11 @@ static void armour_wear_effects(const int item_slot) if (is_random_artefact( arm )) use_randart( item_slot ); - if (item_cursed( arm )) { + if (item_cursed( arm )) + { mpr( "Oops, that feels deathly cold." ); learned_something_new(TUT_YOU_CURSED); + xom_is_stimulated(128); } if (eq_slot == EQ_SHIELD) |