summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 20:49:14 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 20:49:14 +0000
commit2ffed864ba43faf750306e0416d40a828d3bbfaa (patch)
tree6b49289dc7c459a6fa6375aa910b2f65a0d1e48d /src/map
parentecf079974563bcfa409b174fa2ecfbdd8fc51a31 (diff)
downloadhercules-2ffed864ba43faf750306e0416d40a828d3bbfaa.tar.gz
hercules-2ffed864ba43faf750306e0416d40a828d3bbfaa.tar.bz2
hercules-2ffed864ba43faf750306e0416d40a828d3bbfaa.tar.xz
hercules-2ffed864ba43faf750306e0416d40a828d3bbfaa.zip
- Fixed a typo when parsing the mob spawn files.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6256 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/npc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 92d36d9c4..fa803edfb 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2181,10 +2181,7 @@ int npc_parse_mob (char *w1, char *w2, char *w3, char *w4)
else if (battle_config.override_mob_names==2)
strcpy(mob.name,"--ja--");
else
- strncpy(data->name,mob_db(data->class_)->jname,NAME_LENGTH-1);
-
-
- strncpy(mob.name, mobname, NAME_LENGTH-1);
+ strncpy(mob.name, mobname, NAME_LENGTH-1);
if (!mob_parse_dataset(&mob)) //Verify dataset.
return 1;