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.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.cpp')
-rw-r--r-- | src/map/magic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/magic.cpp b/src/map/magic.cpp index b502d3e..2cfa1e4 100644 --- a/src/map/magic.cpp +++ b/src/map/magic.cpp @@ -101,11 +101,11 @@ int magic_message(dumb_ptr<map_session_data> caster, XString source_invocation) #ifdef DEBUG FPRINTF(stderr, "Found spell `%s', triggered = %d\n"_fmt, spell_, - effects != NULL); + effects != NULL); #endif MAP_LOG_PC(caster, "CAST %s %s"_fmt, - spell->name, effects ? "SUCCESS"_s : "FAILURE"_s); + spell->name, effects ? "SUCCESS"_s : "FAILURE"_s); if (effects) { |