summaryrefslogtreecommitdiff
path: root/src/map/magic.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 15:45:27 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 15:45:27 -0700
commitaa760452a033a4e1f8535185159f1d571a87e3ab (patch)
treed3de434ec62309d24d38e9ee3a1abefec1602945 /src/map/magic.c
parentd2bc97170e91765de7ab67b017085370a26e3f93 (diff)
downloadtmwa-aa760452a033a4e1f8535185159f1d571a87e3ab.tar.gz
tmwa-aa760452a033a4e1f8535185159f1d571a87e3ab.tar.bz2
tmwa-aa760452a033a4e1f8535185159f1d571a87e3ab.tar.xz
tmwa-aa760452a033a4e1f8535185159f1d571a87e3ab.zip
Zap spell dependences of status changes when resetting character info (after dying)
Diffstat (limited to 'src/map/magic.c')
-rw-r--r--src/map/magic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/magic.c b/src/map/magic.c
index 8800bb3..66c6444 100644
--- a/src/map/magic.c
+++ b/src/map/magic.c
@@ -93,6 +93,7 @@ magic_message(character_t *caster,
if (effects) {
invocation_t *invocation = spell_instantiate(effects, env);
+fprintf(stderr, "[MDEBUG] Allocd spell %d\n", invocation->bl.id);
/* We have a proper spell effect-- obscure the invocation! */
while (*source_invocation) {
if (((rand() * 100.0) / (RAND_MAX * 1.0)) < magic_conf.obscure_chance)