diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-21 23:16:42 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-21 23:16:42 +0000 |
commit | bf946a85fe99dda39802fd242474264101ddd14f (patch) | |
tree | b82d5360b43986f6fd6162c6d394227d4bb2d18d /crawl-ref/source/cloud.cc | |
parent | 476b01632e0b94acf85a25dbad32782720cde555 (diff) | |
download | crawl-ref-bf946a85fe99dda39802fd242474264101ddd14f.tar.gz crawl-ref-bf946a85fe99dda39802fd242474264101ddd14f.zip |
For 2089989, reallow friendlies to walk into your damaging clouds in
some cases, regardless of god.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9145 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r-- | crawl-ref/source/cloud.cc | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc index a102053972..921cb9cfc7 100644 --- a/crawl-ref/source/cloud.cc +++ b/crawl-ref/source/cloud.cc @@ -413,32 +413,19 @@ beam_type cloud2beam(cloud_type flavour) switch (flavour) { default: - case CLOUD_NONE: - return BEAM_NONE; - case CLOUD_FIRE: - return BEAM_FIRE; - case CLOUD_STINK: - return BEAM_POTION_STINKING_CLOUD; - case CLOUD_COLD: - return BEAM_COLD; - case CLOUD_POISON: - return BEAM_POISON; - case CLOUD_BLACK_SMOKE: - return BEAM_POTION_BLACK_SMOKE; - case CLOUD_GREY_SMOKE: - return BEAM_POTION_GREY_SMOKE; - case CLOUD_BLUE_SMOKE: - return BEAM_POTION_BLUE_SMOKE; - case CLOUD_PURP_SMOKE: - return BEAM_POTION_PURP_SMOKE; - case CLOUD_STEAM: - return BEAM_STEAM; - case CLOUD_MIASMA: - return BEAM_MIASMA; - case CLOUD_CHAOS: - return BEAM_CHAOS; - case CLOUD_RANDOM: - return BEAM_RANDOM; + case CLOUD_NONE: return BEAM_NONE; + case CLOUD_FIRE: return BEAM_FIRE; + case CLOUD_STINK: return BEAM_POTION_STINKING_CLOUD; + case CLOUD_COLD: return BEAM_COLD; + case CLOUD_POISON: return BEAM_POISON; + case CLOUD_BLACK_SMOKE: return BEAM_POTION_BLACK_SMOKE; + case CLOUD_GREY_SMOKE: return BEAM_POTION_GREY_SMOKE; + case CLOUD_BLUE_SMOKE: return BEAM_POTION_BLUE_SMOKE; + case CLOUD_PURP_SMOKE: return BEAM_POTION_PURP_SMOKE; + case CLOUD_STEAM: return BEAM_STEAM; + case CLOUD_MIASMA: return BEAM_MIASMA; + case CLOUD_CHAOS: return BEAM_CHAOS; + case CLOUD_RANDOM: return BEAM_RANDOM; } } |