diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-06-10 09:31:59 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-06-10 09:36:48 -0400 |
commit | ffd391d7850bbbc282688706f5714a885f07b182 (patch) | |
tree | 9ef1f9d7ee4e051216b42ee4dd5a782ea38e6209 /crawl-ref/source/xom.cc | |
parent | 897c189157c822dcb87e64f4a38373bdd258e554 (diff) | |
download | crawl-ref-ffd391d7850bbbc282688706f5714a885f07b182.tar.gz crawl-ref-ffd391d7850bbbc282688706f5714a885f07b182.zip |
Combine the frost/flame and freezing/flaming brands.
Elec and venom launchers already use the same brands, and with ranged
code more similar to melee code this change actually simplifies most
code. There should be no gameplay change though some weird brand picking
code for launchers was refactored, which might have some effect.
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 32b7358924..5a37f22d91 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -956,7 +956,7 @@ static bool _choose_chaos_upgrade(const monster* mon) // If the launcher alters its ammo, then branding the // monster's ammo won't be an upgrade. int brand = get_weapon_brand(item); - if (brand == SPWPN_FLAME || brand == SPWPN_FROST + if (brand == SPWPN_FLAMING || brand == SPWPN_FREEZING || brand == SPWPN_VENOM) { special_launcher = true; |