Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/spell_off.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ DEFINE_SPELL_FUN (spell_heat_metal) {
if (saves_spell (level + 2, victim, DAM_FIRE)
|| IS_SET (victim->imm_flags, RES_FIRE))
{
send_to_char ("Your spell had no effect.\n\r", ch);
send_to_char ("You feel momentarily warmer.\n\r", victim);
printf_to_char(ch, "Your spell had no effect.\n\r");
printf_to_char(victim, "You feel momentarily warmer.\n\r");
return;
}

Expand All @@ -447,12 +447,12 @@ DEFINE_SPELL_FUN (spell_heat_metal) {
if (!(is_weapon || is_armor))
continue;

/* Flaming weapons being wielded are ignored. */
is_worn = (obj_lose->wear_loc != WEAR_LOC_NONE);
if (is_worn && is_weapon && IS_WEAPON_STAT (obj_lose, WEAPON_FLAMING))
/* Flaming weapons being are ignored. */
if (is_weapon && IS_WEAPON_STAT (obj_lose, WEAPON_FLAMING))
continue;

success = TRUE;
is_worn = (obj_lose->wear_loc != WEAR_LOC_NONE);
can_drop = char_can_drop_obj (victim, obj_lose);
drop_item = FALSE;

Expand Down