OSDN Git Service

[Refactor] #39076 冗長なコメントを削除. (/* hex */)
authordeskull <deskull@users.sourceforge.jp>
Thu, 1 Aug 2019 14:45:17 +0000 (23:45 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 1 Aug 2019 14:45:17 +0000 (23:45 +0900)
src/cmd-basic.c
src/cmd-read.c
src/cmd-spell.c
src/melee1.c
src/monster-process.c
src/player-effects.c
src/realm-hex.h
src/view-mainwindow.c

index 52064ba..d7bacba 100644 (file)
@@ -2166,7 +2166,6 @@ void do_cmd_rest(player_type *creature_ptr)
                stop_singing(creature_ptr);
        }
 
-       /* Hex */
        if (hex_spelling_any(creature_ptr)) stop_hex_spell_all();
 
        /* Prompt for time if needed */
index 672ed50..4634678 100644 (file)
@@ -48,7 +48,7 @@
  */
 void exe_read(INVENTORY_IDX item, bool known)
 {
-       int         k, used_up, ident, lev;
+       int k, used_up, ident, lev;
        object_type *o_ptr;
 
        o_ptr = REF_ITEM(p_ptr, current_floor_ptr, item);
@@ -63,8 +63,6 @@ void exe_read(INVENTORY_IDX item, bool known)
        }
 
        if (music_singing_any(p_ptr)) stop_singing(p_ptr);
-
-       /* Hex */
        if (hex_spelling_any(p_ptr) && ((p_ptr->lev < 35) || hex_spell_fully())) stop_hex_spell_all();
 
        /* Not identified yet */
index 20dc4e0..d72bc30 100644 (file)
@@ -1070,8 +1070,6 @@ void do_cmd_cast(void)
        }
 
        if (cmd_limit_confused(p_ptr)) return;
-
-       /* Hex */
        if (p_ptr->realm1 == REALM_HEX)
        {
                if (hex_spell_fully())
@@ -1141,10 +1139,7 @@ void do_cmd_cast(void)
        }
 #endif
 
-
        use_realm = tval2realm(o_ptr->tval);
-
-       /* Hex */
        if (use_realm == REALM_HEX)
        {
                if (hex_spelling(spell))
index ad95987..48ab90b 100644 (file)
@@ -1882,7 +1882,6 @@ static void py_attack_aux(POSITION y, POSITION x, bool *fear, bool *mdeath, s16b
                                        {
                                                drain_heal = damroll(2, drain_result / 6);
 
-                                               /* Hex */
                                                if (hex_spelling(HEX_VAMP_BLADE)) drain_heal *= 2;
 
                                                if (cheat_xtra)
index 468bf59..8a5e425 100644 (file)
@@ -1506,7 +1506,6 @@ void process_monster(MONSTER_IDX m_idx)
                        }
                }
 
-               /* Hex */
                if (multiply_barrier(m_idx)) k = 8;
 
                /* Hack -- multiply slower in crowded areas */
index b025a26..31bfcb5 100644 (file)
@@ -526,7 +526,6 @@ bool set_confused(player_type *creature_ptr, TIME_EFFECT v)
                        /* Sniper */
                        if (creature_ptr->concent) reset_concentration(TRUE);
 
-                       /* Hex */
                        if (hex_spelling_any(p_ptr)) stop_hex_spell_all();
 
                        notice = TRUE;
@@ -674,10 +673,7 @@ bool set_paralyzed(player_type *creature_ptr, TIME_EFFECT v)
                if (!creature_ptr->paralyzed)
                {
                        msg_print(_("体が麻痺してしまった!", "You are paralyzed!"));
-                       /* Sniper */
                        if (creature_ptr->concent) reset_concentration(TRUE);
-
-                       /* Hex */
                        if (hex_spelling_any(p_ptr)) stop_hex_spell_all();
 
                        creature_ptr->counter = FALSE;
@@ -2700,8 +2696,6 @@ bool set_stun(player_type *creature_ptr, TIME_EFFECT v)
 
                /* Sniper */
                if (creature_ptr->concent) reset_concentration(TRUE);
-
-               /* Hex */
                if (hex_spelling_any(p_ptr)) stop_hex_spell_all();
 
                notice = TRUE;
index 70d533b..f5be0c0 100644 (file)
@@ -2,7 +2,6 @@
  * @file realm-hex.h
  */
 
- /* Hex */
 #define hex_spelling_any(CREATURE_PTR) \
        (((CREATURE_PTR)->realm1 == REALM_HEX) && ((CREATURE_PTR)->magic_num1[0]))
 #define hex_spelling(X) \
index 06161b7..d907ed9 100644 (file)
@@ -398,7 +398,6 @@ static struct {
        {TERM_YELLOW, "隠", "超隠密"},
        {TERM_WHITE, "帰", "帰還"},
        {TERM_WHITE, "現", "現実変容"},
-       /* Hex */
        {TERM_WHITE, "オ", "氷オーラ"},
        {TERM_BLUE, "オ", "電オーラ"},
        {TERM_L_DARK, "オ", "影オーラ"},
@@ -470,7 +469,6 @@ static struct {
        {TERM_YELLOW, "Stlt", "Stealth"},
        {TERM_WHITE, "Rc", "Recall"},
        {TERM_WHITE, "Al", "Alter"},
-       /* Hex */
        {TERM_WHITE, "SCo", "SCold"},
        {TERM_BLUE, "SEl", "SElec"},
        {TERM_L_DARK, "SSh", "SShadow"},