From 91fef8df976925d95634b56910a2738000fa6b89 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Mon, 5 Sep 2016 19:36:12 +0200 Subject: [PATCH] Trimmed trailing whitespaces in /src/map --- src/map/atcommand.c | 40 +++++++-------- src/map/battle.c | 8 +-- src/map/battleground.c | 2 +- src/map/buyingstore.c | 8 +-- src/map/channel.c | 4 +- src/map/chat.h | 2 +- src/map/chrif.c | 14 +++--- src/map/clif.c | 48 +++++++++--------- src/map/elemental.c | 2 +- src/map/guild.c | 10 ++-- src/map/homunculus.c | 2 +- src/map/instance.c | 2 +- src/map/intif.c | 58 ++++++++++----------- src/map/itemdb.c | 26 +++++----- src/map/map.c | 16 +++--- src/map/map.h | 2 +- src/map/mercenary.c | 2 +- src/map/mob.c | 24 ++++----- src/map/npc.c | 22 ++++---- src/map/npc_chat.c | 100 ++++++++++++++++++------------------- src/map/pc.c | 70 +++++++++++++------------- src/map/pc_groups.c | 26 +++++----- src/map/pet.c | 2 +- src/map/script.c | 82 +++++++++++++++--------------- src/map/script_constants.h | 2 +- src/map/skill.c | 54 ++++++++++---------- src/map/status.c | 36 ++++++------- src/map/storage.c | 6 +-- src/map/unit.c | 28 +++++------ src/map/vending.c | 6 +-- src/map/vending.h | 2 +- 31 files changed, 353 insertions(+), 353 deletions(-) diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 6a51ee5f94..3dde62e778 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -610,7 +610,7 @@ ACMD_FUNC(jump) *------------------------------------------*/ ACMD_FUNC(who) { struct map_session_data *pl_sd = NULL; - struct s_mapiterator *iter = NULL; + struct s_mapiterator *iter = NULL; char player_name[NAME_LENGTH] = ""; int count = 0; int level = 0; @@ -2654,7 +2654,7 @@ ACMD_FUNC(stat_all) max_status[5] = pc_maxparameter(sd,PARAM_LUK); } } - + count = 0; for (i = 0; i < ARRAYLENGTH(status); i++) { short new_value; @@ -2989,7 +2989,7 @@ ACMD_FUNC(char_ban) clif_displaymessage(fd, msg_txt(sd,702)); // Time parameter format is +/- to alter. y/a = Year, m = Month, d/j = Day, h = Hour, n/mn = Minute, s = Second. return -1; } - + if( timediff < 0 && ( (bantype == CHRIF_OP_LOGIN_BAN && !pc_can_use_command(sd, "unban", COMMAND_ATCOMMAND)) || (bantype == CHRIF_OP_BAN && !pc_can_use_command(sd, "charunban", COMMAND_ATCOMMAND)) @@ -4541,8 +4541,8 @@ ACMD_FUNC(loadnpc) ){ clif_displaymessage(fd, msg_txt(sd,261)); return -1; - } - + } + npc_read_event_script(); clif_displaymessage(fd, msg_txt(sd,262)); @@ -4785,7 +4785,7 @@ ACMD_FUNC(jailfor) { nullpo_retr(-1, sd); memset(atcmd_output, '\0', sizeof(atcmd_output)); - + if (!message || !*message || sscanf(message, "%255s %23[^\n]",atcmd_output,atcmd_player_name) < 2) { clif_displaymessage(fd, msg_txt(sd,400)); //Usage: @jailfor