summaryrefslogtreecommitdiff
path: root/src/map/magic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic.cpp')
-rw-r--r--src/map/magic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/magic.cpp b/src/map/magic.cpp
index 1377979..f6da29b 100644
--- a/src/map/magic.cpp
+++ b/src/map/magic.cpp
@@ -10,7 +10,7 @@
#undef DEBUG
static
-char *magic_preprocess_message(character_t *character, char *start,
+char *magic_preprocess_message(dumb_ptr<map_session_data> character, char *start,
char *end)
{
if (character->state.shroud_active
@@ -56,7 +56,7 @@ char *magic_tokenise(char *src, char **parameter)
return retval;
}
-int magic_message(character_t *caster, char *spell_, size_t)
+int magic_message(dumb_ptr<map_session_data> caster, char *spell_, size_t)
{
if (pc_isdead(caster))
return 0;
@@ -106,7 +106,7 @@ int magic_message(character_t *caster, char *spell_, size_t)
if (effects)
{
- invocation_t *invocation = spell_instantiate(effects, env);
+ dumb_ptr<invocation> invocation = spell_instantiate(effects, env);
spell_bind(caster, invocation);
spell_execute(invocation);