From cac49afdef0992b93d8718fd928d73d721d434f4 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 20 May 2014 20:33:25 -0700 Subject: :%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ]\)\@! */\1 / --- src/map/pc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/pc.cpp') diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 44c401b..8aeebdf 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -778,7 +778,7 @@ int pc_authok(AccountId id, int login_id2, TimeT connect_until_time, if (pc_isGM(sd)) { PRINTF("Connection accepted: character '%s' (account: %d; GM level %d).\n"_fmt, - sd->status_key.name, sd->status_key.account_id, pc_isGM(sd)); + sd->status_key.name, sd->status_key.account_id, pc_isGM(sd)); clif_updatestatus(sd, SP::GM); } else @@ -3405,8 +3405,8 @@ int pc_damage(dumb_ptr src, dumb_ptr sd, if (src->bl_type == BL::PC) { MAP_LOG_PC(sd, "INJURED-BY PC%d FOR %d"_fmt, - src->is_player()->status_key.char_id, - damage); + src->is_player()->status_key.char_id, + damage); } else { @@ -4313,7 +4313,7 @@ int pc_setaccountreg2(dumb_ptr sd, VarName reg, int val) } if (battle_config.error_log) PRINTF("pc_setaccountreg2 : couldn't set %s (ACCOUNT_REG2_NUM = %zu)\n"_fmt, - reg, ACCOUNT_REG2_NUM); + reg, ACCOUNT_REG2_NUM); return 1; } -- cgit v1.2.3-60-g2f50