diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-20 20:33:25 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-20 20:35:29 -0700 |
commit | cac49afdef0992b93d8718fd928d73d721d434f4 (patch) | |
tree | 3625817f1b14fffc9de572ca25beb98b02b97c00 /src/map/magic-interpreter-base.cpp | |
parent | d4605dd35249d5ab55a604c94dcf3ea8f8be8297 (diff) | |
download | tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.gz tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.bz2 tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.xz tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.zip |
:%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ]\)\@! */\1 /
Diffstat (limited to 'src/map/magic-interpreter-base.cpp')
-rw-r--r-- | src/map/magic-interpreter-base.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/magic-interpreter-base.cpp b/src/map/magic-interpreter-base.cpp index b2ed0a5..2cc83b4 100644 --- a/src/map/magic-interpreter-base.cpp +++ b/src/map/magic-interpreter-base.cpp @@ -188,7 +188,7 @@ dumb_ptr<env_t> spell_create_env(magic_conf_t *conf, dumb_ptr<spell_t> spell, default: FPRINTF(stderr, "Unexpected spellarg type %d\n"_fmt, - spell->spellarg_ty); + spell->spellarg_ty); } set_env_entity(VAR_CASTER, caster); @@ -519,8 +519,8 @@ void spell_bind(dumb_ptr<map_session_data> subject, dumb_ptr<invocation> invocat { int *i = NULL; FPRINTF(stderr, - "[magic] INTERNAL ERROR: Attempt to re-bind spell invocation `%s'\n"_fmt, - invocation->spell->name); + "[magic] INTERNAL ERROR: Attempt to re-bind spell invocation `%s'\n"_fmt, + invocation->spell->name); *i = 1; return; } |