diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/strlib.c | 3 | ||||
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/npc.c | 1 | ||||
-rw-r--r-- | src/map/status.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c index dd10d655e..9d79e2745 100644 --- a/src/common/strlib.c +++ b/src/common/strlib.c @@ -7,7 +7,8 @@ #include <ctype.h> #include "strlib.h" -#include "utils.h" +#include "../common/cbasetypes.h" +#include "../common/utils.h" #include "../common/malloc.h" //----------------------------------------------- diff --git a/src/map/clif.c b/src/map/clif.c index 5d4bcc457..a9214a137 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8478,7 +8478,7 @@ void clif_parse_GetCharNameRequest(int fd, struct map_session_data *sd) { //Possible bot? Thanks to veider and qspirit //FIXME: Still isn't perfected as clients keep asking for this on legitimate situations. unsigned char gm_msg[256]; - sprintf(gm_msg, "Hack on NameRequest: character '%s' (account: %d) requests name of invisible chars.", sd->status.name, sd->status.account_id); + sprintf(gm_msg, "Hack on NameRequest: character '%s' (account: %d) requested the name of an invisible target.", sd->status.name, sd->status.account_id); ShowWarning(gm_msg); // information is sended to all online GM intif_wis_message_to_gm(wisp_server_name, battle_config.hack_info_GM_level, gm_msg); diff --git a/src/map/npc.c b/src/map/npc.c index 0a6277894..9cb53327a 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -31,7 +31,6 @@ #include "skill.h" #include "unit.h" -#ifdef _WIN32 struct npc_src_list { struct npc_src_list * next; diff --git a/src/map/status.c b/src/map/status.c index 58d6190b7..8d4084f28 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5009,7 +5009,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val skill_enchant_elemental_end(bl,type); break; case SC_ELEMENTALCHANGE: - //Val1 is elemental change level, val2 is eleemnt to use. + //Val1 is elemental change level, val2 is element to use. if (!val2) //Val 3 holds the element, when not given, a random one is picked. val2 = rand()%ELE_MAX; //Elemental Lv is always a random value between 1 and 4. |