summaryrefslogtreecommitdiff
path: root/src/object2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
commit33e7dc3baa6b375efb6d8989ffe3c50511291228 (patch)
tree16c72b093ab53f33be5386a842450da8cdf117cf /src/object2.cc
parentcc50d2db6418690470ead3faf71e0818eff1b8e4 (diff)
Remove Alchemist class and associated skills/code
Alchemy has always been ridiculously broken and there's been a huge amount of horrible code to support it. Sorry to any fans of Alchemy, but it's got to go.
Diffstat (limited to 'src/object2.cc')
-rw-r--r--src/object2.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/object2.cc b/src/object2.cc
index b0e33365..98d22c2e 100644
--- a/src/object2.cc
+++ b/src/object2.cc
@@ -1709,13 +1709,6 @@ bool_ object_similar(object_type const *o_ptr, object_type const *j_ptr)
break;
}
- /* UHH ugly hack for the fireproof quest, sorry */
- case TV_BATERIE:
- {
- if (o_ptr->pval2 != j_ptr->pval2) return (FALSE);
- break;
- }
-
/* Various */
default:
{
@@ -4382,6 +4375,7 @@ static bool kind_is_theme(int k_idx)
prob = match_theme.combat;
break;
case TV_HAFTED:
+ // FIXME: These cases can be shortened drastically
prob = match_theme.combat;
break;
case TV_POLEARM:
@@ -4436,9 +4430,6 @@ static bool kind_is_theme(int k_idx)
case TV_POTION2:
prob = match_theme.magic;
break;
- case TV_BATERIE:
- prob = match_theme.magic;
- break;
case TV_RANDART:
prob = match_theme.magic;
break;