summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-30 17:01:53 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-30 17:01:53 +0000
commitcb55c69231680f1b8cbb6c241a1ca866f1f3754f (patch)
tree088af1ccd77318dd8ae6866bae63a7810b829c89 /src
parent487e633d50f25571dd89b4efc3e737f89376a938 (diff)
downloadhercules-cb55c69231680f1b8cbb6c241a1ca866f1f3754f.tar.gz
hercules-cb55c69231680f1b8cbb6c241a1ca866f1f3754f.tar.bz2
hercules-cb55c69231680f1b8cbb6c241a1ca866f1f3754f.tar.xz
hercules-cb55c69231680f1b8cbb6c241a1ca866f1f3754f.zip
Fixed typos from previous revisions :)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10098 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/common/strlib.c3
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/npc.c1
-rw-r--r--src/map/status.c2
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.