summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-10 09:31:59 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-10 09:36:48 -0400
commitffd391d7850bbbc282688706f5714a885f07b182 (patch)
tree9ef1f9d7ee4e051216b42ee4dd5a782ea38e6209 /crawl-ref/source/xom.cc
parent897c189157c822dcb87e64f4a38373bdd258e554 (diff)
downloadcrawl-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.cc2
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;