From: henkma Date: Fri, 26 Jul 2002 08:37:48 +0000 (+0000) Subject: EyeEye、ホ・ヌ・ミ・テ・ー、ホ、ネ、ュ, int、ヨ、ケエリソヒ"return;"、ャサト、テ、ニ、キ、゙、テ、ニ、、、ソ、ホ、ヌス、タオ. X-Git-Tag: v2.1.2~1905 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=32f5056a8c5d7df58f0d282c02228f514845c15d;p=hengband%2Fhengband.git EyeEye、ホ・ヌ・ミ・テ・ー、ホ、ネ、ュ, int、ヨ、ケエリソヒ"return;"、ャサト、テ、ニ、キ、゙、テ、ニ、、、ソ、ホ、ヌス、タオ. --- diff --git a/src/spells3.c b/src/spells3.c index a36bb0ca4..39b64f98a 100644 --- a/src/spells3.c +++ b/src/spells3.c @@ -5059,7 +5059,7 @@ int acid_dam(int dam, cptr kb_str, int monspell) if (p_ptr->immune_acid || (dam <= 0)) { learn_spell(monspell); - return; + return 0; } /* Vulnerability (Ouch!) */ @@ -5100,7 +5100,7 @@ int elec_dam(int dam, cptr kb_str, int monspell) if (p_ptr->immune_elec || (dam <= 0)) { learn_spell(monspell); - return; + return 0; } /* Vulnerability (Ouch!) */ @@ -5140,7 +5140,7 @@ int fire_dam(int dam, cptr kb_str, int monspell) if (p_ptr->immune_fire || (dam <= 0)) { learn_spell(monspell); - return; + return 0; } /* Vulnerability (Ouch!) */ @@ -5180,7 +5180,7 @@ int cold_dam(int dam, cptr kb_str, int monspell) if (p_ptr->immune_cold || (dam <= 0)) { learn_spell(monspell); - return; + return 0; } /* Vulnerability (Ouch!) */