From 1d0e18a186f67844ccd873eabb56ebdaa3f47f11 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 25 May 2013 13:49:50 -0700 Subject: Switch block_list and subclasses to dumb_ptr Now we're well-defined, since we're actually calling ctors and dtors. Most of this code will not survive long ... --- src/map/magic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/magic.cpp') 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 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 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 = spell_instantiate(effects, env); spell_bind(caster, invocation); spell_execute(invocation); -- cgit v1.2.3-70-g09d2