summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index a17888f2c4..4736162af4 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -2429,14 +2429,11 @@ void wizard_gain_piety()
if (one_chance_in(10))
you.gift_timeout = 0;
else
- you.gift_timeout = random2(256); // reroll interest
+ you.gift_timeout = random2(40) + random2(40); // reroll interest
const std::string new_xom_favour = describe_xom_favour();
- if (old_xom_favour != new_xom_favour)
- {
- const std::string msg = "Your title is now: " + new_xom_favour;
- god_speaks(you.religion, msg.c_str());
- }
+ const std::string msg = "Your title is now: " + new_xom_favour;
+ god_speaks(you.religion, msg.c_str());
return;
}