diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 14:25:13 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 14:25:13 +0000 |
commit | b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7 (patch) | |
tree | 6c011f1512211a03498a4ce5db585d947891700b /crawl-ref/source/ouch.cc | |
parent | 6604f9f6004e6e8d32e988a2e26b490432208095 (diff) | |
download | crawl-ref-b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7.tar.gz crawl-ref-b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7.zip |
Apply zebez' patch to differentiate gates some more from stairs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10403 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index ddd810801d..b16fb08a45 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -749,7 +749,8 @@ static void _xom_checks_damage(kill_method_type death_type, xom_is_stimulated(amusement); return; } - else if (death_type == KILLED_BY_FALLING_DOWN_STAIRS) + else if (death_type == KILLED_BY_FALLING_DOWN_STAIRS + || death_type == KILLED_BY_FALLING_THROUGH_GATE) { // Xom thinks falling down the stairs is hilarious. xom_is_stimulated(255); |