diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 07:33:39 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 07:33:39 +0000 |
commit | 8ea9f3079b7f85ccbd5831870d6d38ef88adfd07 (patch) | |
tree | 1e6312ca2dcc8003051f693fc361f1ca1f05e3a7 /src/map/mob.c | |
parent | 5ccb3f48c51beb25cf12898693c06af518de89f1 (diff) | |
download | hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.tar.gz hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.tar.bz2 hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.tar.xz hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.zip |
Removed the undocumented custom level feature from monster spawn lines (bugreport:3076).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13772 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 0a774fe89..42e00b9ec 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -191,8 +191,6 @@ int mob_parse_dataset(struct spawn_data *data) memmove(data->eventname, data->eventname+1, i-1); } } - if (!data->level) - data->level = mob_db(data->class_)->lv; if(strcmp(data->name,"--en--")==0) strncpy(data->name,mob_db(data->class_)->name,NAME_LENGTH-1); @@ -221,8 +219,6 @@ struct mob_data* mob_spawn_dataset(struct spawn_data *data) md->special_state.size = data->state.size; if (data->eventname[0] && strlen(data->eventname) >= 4) memcpy(md->npc_event, data->eventname, 50); - md->level = data->level; - if(md->db->status.mode&MD_LOOTER) md->lootitem = (struct item *)aCalloc(LOOTITEM_SIZE,sizeof(struct item)); md->spawn_timer = INVALID_TIMER; @@ -2706,7 +2702,6 @@ int mob_summonslave(struct mob_data *md2,int *value,int amount,int skill_id) else strcpy(data.name,"--ja--"); - data.level = 0; if (!mob_parse_dataset(&data)) continue; |