diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-19 21:30:27 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-19 21:30:27 +0100 |
commit | 2268822945c278572539b945c6e7f656991b0bd7 (patch) | |
tree | b1e6ff894c3b927d998b69e7d65839eec3ac2985 /crawl-ref/source/main.cc | |
parent | 090149e113c6d864f40136558c44a6dae4c21a0e (diff) | |
download | crawl-ref-2268822945c278572539b945c6e7f656991b0bd7.tar.gz crawl-ref-2268822945c278572539b945c6e7f656991b0bd7.zip |
Xom thinks it's funny if you faint from hunger while tension is > 0.
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r-- | crawl-ref/source/main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 95fa1189b8..8070f77887 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -2893,6 +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.hunger <= 100) |