summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/main.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-19 21:45:15 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-19 21:45:15 +0100
commit461330f33698ce5859b145cb10b3ab506d8bc65f (patch)
tree39f7c8043b9921059d4cb4cc6410c966cb811b0c /crawl-ref/source/main.cc
parent747eee0fa57dbd7e6155a0e79ce644fe5c3ef391 (diff)
downloadcrawl-ref-461330f33698ce5859b145cb10b3ab506d8bc65f.tar.gz
crawl-ref-461330f33698ce5859b145cb10b3ab506d8bc65f.zip
Ah, what the heck! Fainting is funny even if there are no monsters around.
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r--crawl-ref/source/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc
index 8070f77887..d3feb08c00 100644
--- a/crawl-ref/source/main.cc
+++ b/crawl-ref/source/main.cc
@@ -2893,8 +2893,8 @@ void world_reacts()
stop_running();
you.increase_duration(DUR_PARALYSIS, 5 + random2(8), 13);
- if (you.religion == GOD_XOM && get_tension() > 0)
- xom_is_stimulated(255);
+ if (you.religion == GOD_XOM)
+ xom_is_stimulated(get_tension() > 0 ? 255 : 128);
}
if (you.hunger <= 100)