summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 16:23:02 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 16:23:02 -0700
commit2dea6f401e47184fd8f2dc7f4f408c0779af61af (patch)
tree95d3c093d2d227310ca040e235d49dcc32daf892 /src/map/magic-stmt.c
parentaa760452a033a4e1f8535185159f1d571a87e3ab (diff)
downloadtmwa-2dea6f401e47184fd8f2dc7f4f408c0779af61af.tar.gz
tmwa-2dea6f401e47184fd8f2dc7f4f408c0779af61af.tar.bz2
tmwa-2dea6f401e47184fd8f2dc7f4f408c0779af61af.tar.xz
tmwa-2dea6f401e47184fd8f2dc7f4f408c0779af61af.zip
Removed some debug output from magic
Diffstat (limited to 'src/map/magic-stmt.c')
-rw-r--r--src/map/magic-stmt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/magic-stmt.c b/src/map/magic-stmt.c
index 38ee98e..d89a01e 100644
--- a/src/map/magic-stmt.c
+++ b/src/map/magic-stmt.c
@@ -99,7 +99,6 @@ free_invocation(invocation_t *invocation)
magic_free_env(invocation->env);
-fprintf(stderr, "[MDEBUG] Freeing spell %d\n", invocation->bl.id);
map_delblock(&invocation->bl);
map_delobject(invocation->bl.id); // also frees the object
// free(invocation);
@@ -855,13 +854,9 @@ spell_effect_report_termination(int invocation_id, int bl_id, int sc_id, int sup
int index = -1;
invocation_t *invocation = (invocation_t *) map_id2bl(invocation_id);
-fprintf(stderr, "[MDEBUG] Reporting remote termination of %d\n", invocation_id);
-
if (!invocation || invocation->bl.type != BL_SPELL)
return;
-fprintf(stderr, "[MDEBUG] %d is a valid invocation\n", invocation_id);
-
for (i = 0; i < invocation->status_change_refs_nr; i++) {
status_change_ref_t *cr = &invocation->status_change_refs[i];
if (cr->sc_type == sc_id && cr->bl_id == bl_id) {