summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/magic-stmt.c5
-rw-r--r--src/map/magic.c1
2 files changed, 0 insertions, 6 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) {
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)