summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 09:30:13 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 09:30:13 -0700
commit997bac8c9963354d53d467208e09c24d57055c1d (patch)
treecb75ca31dd08367383797a9763c258ad5368fce5 /src/map/magic-stmt.c
parent576cf98a0798fbec9019afcd022fd4e518b53f10 (diff)
downloadtmwa-997bac8c9963354d53d467208e09c24d57055c1d.tar.gz
tmwa-997bac8c9963354d53d467208e09c24d57055c1d.tar.bz2
tmwa-997bac8c9963354d53d467208e09c24d57055c1d.tar.xz
tmwa-997bac8c9963354d53d467208e09c24d57055c1d.zip
Fix to yesterday's fix
Diffstat (limited to 'src/map/magic-stmt.c')
-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);
}
}