From 8c2b0f2729f29f3906a75e2fba72d2dad4a80ee2 Mon Sep 17 00:00:00 2001 From: Fate Date: Mon, 24 Nov 2008 12:41:04 -0700 Subject: Added spell_index and is_equipped operations, permitted coercions from invocations to strings --- src/map/magic-stmt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/magic-stmt.c') diff --git a/src/map/magic-stmt.c b/src/map/magic-stmt.c index 3d28b3f..1812773 100644 --- a/src/map/magic-stmt.c +++ b/src/map/magic-stmt.c @@ -10,6 +10,7 @@ clif_spawn_fake_npc_for_player(struct map_session_data *sd, int fake_npc_id); //#define DEBUG +#ifdef DEBUG static void print_val(val_t *v) { @@ -37,6 +38,7 @@ dump_env(env_t *env) fprintf(stderr, ")\n"); } } +#endif static void clear_activation_record(cont_activation_record_t *ar) @@ -1098,6 +1100,7 @@ run_call(invocation_t *invocation, effect_t *return_location) return current->e.e_call.body; } +#ifdef DEBUG static void print_cfg(int i, effect_t *e) { @@ -1151,6 +1154,7 @@ print_cfg(int i, effect_t *e) } print_cfg(i, e->next); } +#endif /** -- cgit v1.2.3-70-g09d2