From 32f5056a8c5d7df58f0d282c02228f514845c15d Mon Sep 17 00:00:00 2001 From: henkma Date: Fri, 26 Jul 2002 08:37:48 +0000 Subject: [PATCH] =?utf8?q?EyeEye=EF=BD=A4=EF=BE=8E=EF=BD=A5=EF=BE=87?= =?utf8?q?=EF=BD=A5=EF=BE=90=EF=BD=A5=EF=BE=83=EF=BD=A5=EF=BD=B0=EF=BD=A4?= =?utf8?q?=EF=BE=8E=EF=BD=A4=EF=BE=88=EF=BD=A4=EF=BD=AD,=20int=EF=BD=A4?= =?utf8?q?=EE=88=81=EF=BE=96=EF=BD=A4=EF=BD=B9=EF=BD=B4=EF=BE=98=EF=BD=BF?= =?utf8?q?=EE=8D=93=EF=BE=8B"return;"=EF=BD=A4=EF=BD=AC=EF=BD=BB=EF=BE=84?= =?utf8?q?=EF=BD=A4=EF=BE=83=EF=BD=A4=EF=BE=86=EF=BD=A4=EF=BD=B7=EF=BD=A4?= =?utf8?q?=EF=BE=9E=EF=BD=A4=EF=BE=83=EF=BD=A4=EF=BE=86=EF=BD=A4=EF=BD=A4?= =?utf8?q?=EF=BD=A4=EF=BD=BF=EF=BD=A4=EF=BE=8E=EF=BD=A4=EF=BE=87=EF=BD=BD?= =?utf8?q?=EF=BD=A4=EF=BE=80=EF=BD=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/spells3.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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!) */ -- 2.11.0