diff options
author | Charles Otto <ottochar@gmail.com> | 2009-10-10 23:07:21 -0400 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-10-10 23:24:00 -0400 |
commit | e4f58176388fa16d5f76815af0900a35d9e61627 (patch) | |
tree | 44f11ae86e2a30d9389de496933ee92e6b1e6df5 /crawl-ref/source/player.cc | |
parent | c9a5a4dea4e2dc99e9f50515c71ea71946f003c7 (diff) | |
download | crawl-ref-e4f58176388fa16d5f76815af0900a35d9e61627.tar.gz crawl-ref-e4f58176388fa16d5f76815af0900a35d9e61627.zip |
Patch 2873911 by Jude: add rain clouds
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index ac567372a5..4c74fec913 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1805,6 +1805,10 @@ int player_spec_fire() if (you.duration[DUR_FIRE_SHIELD]) sf++; + // if it's raining... {due} + if (in_what_cloud(CLOUD_RAIN)) + sf--; + return sf; } |