From 2dea6f401e47184fd8f2dc7f4f408c0779af61af Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 31 Jan 2009 16:23:02 -0700 Subject: Removed some debug output from magic --- src/map/magic-stmt.c | 5 ----- src/map/magic.c | 1 - 2 files changed, 6 deletions(-) (limited to 'src/map') 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) { diff --git a/src/map/magic.c b/src/map/magic.c index 66c6444..8800bb3 100644 --- a/src/map/magic.c +++ b/src/map/magic.c @@ -93,7 +93,6 @@ 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) -- cgit v1.2.3-70-g09d2