summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/sprint.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-25 20:02:32 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-25 20:02:32 +0200
commit5b840f5a962383bffe391251d0fa25426c91e2e4 (patch)
treeec8ecdb129acfdf7d5623bb09928b50ad9cd1615 /crawl-ref/source/sprint.cc
parentf4961ac0c2e8878c3ef2b03abe4551edc432d945 (diff)
downloadcrawl-ref-5b840f5a962383bffe391251d0fa25426c91e2e4.tar.gz
crawl-ref-5b840f5a962383bffe391251d0fa25426c91e2e4.zip
Special-case Okawaru in sprint to give unscaled piety.
You fight only extremely OODs monsters at low level.
Diffstat (limited to 'crawl-ref/source/sprint.cc')
-rw-r--r--crawl-ref/source/sprint.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/sprint.cc b/crawl-ref/source/sprint.cc
index 5fbe4b9b14..4e6e2b0933 100644
--- a/crawl-ref/source/sprint.cc
+++ b/crawl-ref/source/sprint.cc
@@ -19,6 +19,8 @@ int sprint_modify_exp_inverse(int exp)
int sprint_modify_piety(int piety)
{
+ if (you.religion == GOD_OKAWARU)
+ return piety;
return piety * 9;
}