summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-11-24 12:41:04 -0700
committerFate <fate-tmw@googlemail.com>2008-11-24 12:41:04 -0700
commit8c2b0f2729f29f3906a75e2fba72d2dad4a80ee2 (patch)
tree49ec1cec95b6e6a4cfdaeda49b42afb140ac825d /src/map/magic-stmt.c
parent5bb68970dece3052f5bf82d53bec8c6eeac60e15 (diff)
downloadtmwa-8c2b0f2729f29f3906a75e2fba72d2dad4a80ee2.tar.gz
tmwa-8c2b0f2729f29f3906a75e2fba72d2dad4a80ee2.tar.bz2
tmwa-8c2b0f2729f29f3906a75e2fba72d2dad4a80ee2.tar.xz
tmwa-8c2b0f2729f29f3906a75e2fba72d2dad4a80ee2.zip
Added spell_index and is_equipped operations, permitted coercions from invocations to strings
Diffstat (limited to 'src/map/magic-stmt.c')
-rw-r--r--src/map/magic-stmt.c4
1 files changed, 4 insertions, 0 deletions
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
/**