OSDN Git Service

[Refactor] #39076 "/* Paranoia */" を削除.
[hengband/hengband.git] / src / mspells3.c
index 0bfc643..e36e41d 100644 (file)
@@ -1520,7 +1520,7 @@ bool do_cmd_cast_learned(void)
 void learn_spell(int monspell)
 {
        if (p_ptr->action != ACTION_LEARN) return;
-       if (monspell < 0) return; /* Paranoia */
+       if (monspell < 0) return;
        if (p_ptr->magic_num2[monspell]) return;
        if (p_ptr->confused || p_ptr->blind || p_ptr->image || p_ptr->stun || p_ptr->paralyzed) return;
        if (randint1(p_ptr->lev + 70) > monster_powers[monspell].level + 40)