summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-03 19:38:58 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-03 19:38:58 +0000
commitfe19455a2b36701a442eb22841011374686e9e36 (patch)
treeb3aba4d19e98269ab04f2f1b99f64150f3f5b76c /crawl-ref
parent3797ce8f7593299b8ba6b1ec042daf03ecb0b018 (diff)
downloadcrawl-ref-fe19455a2b36701a442eb22841011374686e9e36.tar.gz
crawl-ref-fe19455a2b36701a442eb22841011374686e9e36.zip
Revert one of the previous changes: Put back the unconditional "You will
pay..." message, as leaving it out may be confusing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7368 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/religion.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 0cf9e83751..4608d04579 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -366,7 +366,7 @@ static bool _magic_users_attitude_change();
static bool _yred_slaves_abandon_you();
static bool _beogh_followers_abandon_you();
static void _altar_prayer();
-static void _dock_piety(int piety_loss, int penance, bool lecture);
+static void _dock_piety(int piety_loss, int penance);
static bool _make_god_gifts_disappear(bool level_only = true);
static bool _make_holy_god_gifts_good_neutral(bool level_only = true);
static bool _make_god_gifts_hostile(bool level_only = true);
@@ -2880,10 +2880,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
if (piety_change > 0)
gain_piety(piety_change);
else
- {
- _dock_piety(-piety_change, penance,
- do_god_vengeance(thing_done, false) != you.religion);
- }
+ _dock_piety(-piety_change, penance);
#if DEBUG_DIAGNOSTICS
if (ret)
@@ -2985,7 +2982,7 @@ void disable_attack_conducts(god_conduct_trigger conduct[3])
conduct[i].enabled = false;
}
-static void _dock_piety(int piety_loss, int penance, bool lecture)
+static void _dock_piety(int piety_loss, int penance)
{
static long last_piety_lecture = -1L;
static long last_penance_lecture = -1L;
@@ -3013,7 +3010,7 @@ static void _dock_piety(int piety_loss, int penance, bool lecture)
excommunication();
else if (penance) // only if still in religion
{
- if (last_penance_lecture != you.num_turns && lecture)
+ if (last_penance_lecture != you.num_turns)
{
god_speaks(you.religion,
"\"You will pay for your transgression, mortal!\"");