summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 17:46:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 17:46:16 +0000
commitd719a7dcec9a7f99c7c945f3d4effa386b102bab (patch)
treecc06514d11a5d25f2dd741ea1a9b781c512a87f4 /src/map/mob.c
parentf753f361a3fabcb9b14746ead47dac7e9a0d8ab7 (diff)
downloadhercules-d719a7dcec9a7f99c7c945f3d4effa386b102bab.tar.gz
hercules-d719a7dcec9a7f99c7c945f3d4effa386b102bab.tar.bz2
hercules-d719a7dcec9a7f99c7c945f3d4effa386b102bab.tar.xz
hercules-d719a7dcec9a7f99c7c945f3d4effa386b102bab.zip
- Cleaned up @grind2
- Updated @monsterbig, @monstersmall to use the event 2 and 4 rather than the max_mob_db code check. - Modified override_mobs_names to work only on the mob spawn files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6252 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index c9b969b44..5e960b4fa 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -174,9 +174,9 @@ int mob_parse_dataset(struct spawn_data *data) {
if (!data->level)
data->level = mob_db(data->class_)->lv;
- if(battle_config.override_mob_names==1 || strcmp(data->name,"--en--")==0)
+ if(strcmp(data->name,"--en--")==0)
strncpy(data->name,mob_db(data->class_)->name,NAME_LENGTH-1);
- else if(battle_config.override_mob_names==2 || strcmp(data->name,"--ja--")==0)
+ else if(strcmp(data->name,"--ja--")==0)
strncpy(data->name,mob_db(data->class_)->jname,NAME_LENGTH-1);
return 1;