summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/magic-stmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/magic-stmt.c b/src/map/magic-stmt.c
index ba132b3..3422a1b 100644
--- a/src/map/magic-stmt.c
+++ b/src/map/magic-stmt.c
@@ -156,8 +156,8 @@ magic_stop_completely(character_t *c)
if (attack_spell)
free_invocation(attack_spell);
c->attack_spell_override = 0;
- char_set_weapon_icon(caster, 0, 0, 0);
- char_set_attack_info(caster, 0, 0);
+ char_set_weapon_icon(c, 0, 0, 0);
+ char_set_attack_info(c, 0, 0);
}
}