diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-02-19 17:09:03 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2011-02-19 19:32:06 +0100 |
commit | 946d101429a49b656ee37ad00a927787e2d463fd (patch) | |
tree | 99623edd7ad64502efbdefcc2ad1eaf693a062b2 /src/melee2.c | |
parent | 6a077f767bab67c5847e6ccf98513151462879a4 (diff) |
Remove dead (#if 0) code.
Diffstat (limited to 'src/melee2.c')
-rw-r--r-- | src/melee2.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/melee2.c b/src/melee2.c index 804b8f12..51e92675 100644 --- a/src/melee2.c +++ b/src/melee2.c @@ -693,11 +693,6 @@ static bool spell_annoy(byte spell) /* Teleport to */ if (spell == 160 + 6) return (TRUE); -#if 0 - /* Hand of Doom */ - if (spell == 160 + 1) return (TRUE); -#endif - /* Darkness, make traps, cause amnesia */ if (spell >= 160 + 9 && spell <= 160 + 11) return (TRUE); @@ -1154,9 +1149,6 @@ static bool monst_spell_monst(int m_idx) if (disturb_other) disturb(1, 0); if (!see_m) monster_msg("You hear a shriek."); else monster_msg("%^s shrieks at %s.", m_name, t_name); -#if 0 - aggravate_monsters(m_idx); -#endif wake_up = TRUE; break; } @@ -2690,14 +2682,6 @@ static bool monst_spell_monst(int m_idx) count += summon_specific(y, x, rlev, SUMMON_WRAITH); } -#if 0 - /* these are not Lords of Amber... */ - for (k = 0; k < 12; k++) - { - count += summon_specific(y, x, rlev, SUMMON_HI_UNDEAD); - } -#endif - if (blind && count) { monster_msg("You hear immortal beings appear nearby."); @@ -4604,14 +4588,6 @@ bool make_attack_spell(int m_idx) count += summon_specific(y, x, rlev, SUMMON_WRAITH); } -#if 0 - /* these are not Lords of Amber... */ - for (k = 0; k < 12; k++) - { - count += summon_specific(y, x, rlev, SUMMON_HI_UNDEAD); - } -#endif - if (blind && count) { msg_print("You hear immortal beings appear nearby."); @@ -6872,12 +6848,6 @@ static void process_monster(int m_idx, bool is_frien) /* Door power */ k = ((c_ptr->feat - FEAT_DOOR_HEAD) & 0x07); -#if 0 - /* XXX XXX XXX Old test (pval 10 to 20) */ - if (randint((m_ptr->hp + 1) * (50 + o_ptr->pval)) < - 40 * (m_ptr->hp - 10 - o_ptr->pval)); -#endif - /* Try to unlock it XXX XXX XXX */ if (rand_int(m_ptr->hp / 10) > k) { @@ -6899,12 +6869,6 @@ static void process_monster(int m_idx, bool is_frien) /* Door power */ k = ((c_ptr->feat - FEAT_DOOR_HEAD) & 0x07); -#if 0 - /* XXX XXX XXX Old test (pval 10 to 20) */ - if (randint((m_ptr->hp + 1) * (50 + o_ptr->pval)) < - 40 * (m_ptr->hp - 10 - o_ptr->pval)); -#endif - /* Attempt to Bash XXX XXX XXX */ if (rand_int(m_ptr->hp / 10) > k) { @@ -7033,11 +6997,6 @@ static void process_monster(int m_idx, bool is_frien) if (do_move && (ny == p_ptr->py) && (nx == p_ptr->px) && (r_ptr->flags1 & RF1_NEVER_BLOW)) { -#if 0 - /* Hack -- memorize lack of attacks */ - if (m_ptr->ml) r_ptr->r_flags1 |= (RF1_NEVER_BLOW); -#endif - /* Do not move */ do_move = FALSE; } |