summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-03-27 15:46:59 +0200
committerBardur Arantsson <bardur@scientician.net>2016-03-27 15:47:16 +0200
commitfaae2becd29ef9fac880b9932781fc41b996459d (patch)
tree03a8364db0fa53f3a82d8323cb1b52bfccc66b08 /src
parent2a2527a68ff4fb909e8ad8a07c6e548d329e8588 (diff)
Remove dead code
Diffstat (limited to 'src')
-rw-r--r--src/melee1.cc14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/melee1.cc b/src/melee1.cc
index bb4c06d1..fb2b1749 100644
--- a/src/melee1.cc
+++ b/src/melee1.cc
@@ -1353,7 +1353,7 @@ bool_ make_attack_normal(int m_idx, byte divis)
int ap_cnt;
int i, j, k, tmp, ac, rlev;
- int do_cut, do_stun, do_vampire;
+ int do_cut, do_stun;
s32b gold;
@@ -1615,7 +1615,7 @@ bool_ make_attack_normal(int m_idx, byte divis)
}
/* Assume no cut or stun */
- do_cut = do_stun = do_vampire = 0;
+ do_cut = do_stun = 0;
/* Describe the attack method */
switch (method)
@@ -1668,8 +1668,6 @@ bool_ make_attack_normal(int m_idx, byte divis)
{
act = "bites you.";
do_cut = 1;
- if (magik(5) && iequals(r_ptr->name, "vampire"))
- do_vampire = TRUE;
touched = TRUE;
sound(SOUND_BITE);
break;
@@ -2855,14 +2853,6 @@ bool_ make_attack_normal(int m_idx, byte divis)
if (k) (void)set_stun(p_ptr->stun + k);
}
- /* Do vampiric thingies */
- if (do_vampire)
- {
- /* Change to resist(but never total protection) */
-/* if (magik(3) || (magik(m_ptr->level - (p_ptr->lev / 2))))
- gain_corruption("Vampire");*/
- }
-
if (explode)
{
sound(SOUND_EXPLODE);