From: dis- Date: Thu, 14 Feb 2013 15:02:00 +0000 (+0000) Subject: undo failed-commit. X-Git-Tag: v2.1.2~83 X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=6f4a69964af4d215ef4953a341d141c7016eb036 undo failed-commit. --- diff --git a/src/do-spell.c b/src/do-spell.c index c8fca41d3..44945e6ec 100644 --- a/src/do-spell.c +++ b/src/do-spell.c @@ -9349,7 +9349,6 @@ static cptr do_music_spell(int spell, int mode) if (cont) { project_hack(GF_PSI, damroll(dice, sides)); - energy_use += 10; } } @@ -9460,7 +9459,6 @@ static cptr do_music_spell(int spell, int mode) if (cont) { confuse_monsters(power); - energy_use += 10; } } @@ -9497,7 +9495,6 @@ static cptr do_music_spell(int spell, int mode) if (cont) { project_hack(GF_SOUND, damroll(dice, sides)); - energy_use += 10; } } @@ -9771,7 +9768,6 @@ static cptr do_music_spell(int spell, int mode) { dispel_monsters(randint1(m_sides)); dispel_evil(randint1(e_sides)); - energy_use += 10; } } break; @@ -9807,7 +9803,6 @@ static cptr do_music_spell(int spell, int mode) { slow_monsters(plev); sleep_monsters(plev); - energy_use += 10; } } @@ -9937,7 +9932,6 @@ static cptr do_music_spell(int spell, int mode) if (cont) { stasis_monsters(power); - energy_use += 10; } } @@ -10029,7 +10023,6 @@ static cptr do_music_spell(int spell, int mode) if (cont) { dispel_monsters(damroll(dice, sides)); - energy_use += 10; } } break; @@ -11541,10 +11534,6 @@ static cptr do_hex_spell(int spell, int mode) if (cast || cont) { project_hack(GF_POIS, randint1(power)); - if(cont) - { - energy_use += 10; - } } break; @@ -11844,10 +11833,6 @@ static cptr do_hex_spell(int spell, int mode) if (cast || cont) { project_hack(GF_OLD_DRAIN, randint1(power)); - if(cont) - { - energy_use += 10; - } } break; @@ -12438,10 +12423,6 @@ static cptr do_hex_spell(int spell, int mode) if (cast || cont) { stun_monsters(power); - if(cont) - { - energy_use += 10; - } } break;