summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/spells1.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 7724d0112f..284cbf92e5 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -777,7 +777,8 @@ static int _healing_spell(int healed, bool divine_ability,
mons_pacify(monster);
// Give a small piety return.
- gain_piety(pgain);
+ if (pgain > 0)
+ gain_piety(pgain);
}
}
@@ -805,7 +806,8 @@ static int _healing_spell(int healed, bool divine_ability,
"creature.");
// Give a small piety return.
- gain_piety(pgain);
+ if (pgain > 0)
+ gain_piety(pgain);
}
}