diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-18 16:14:44 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-18 16:14:44 +0000 |
commit | 3478d705f736e718713cac0e73f9998986f7b07e (patch) | |
tree | d3d0ff676d2c123bbdc56adcca92912246a58ca4 /src/map/mob.c | |
parent | e1c6063f5c4072a4273f7dc9580df96c402045cb (diff) | |
download | hercules-3478d705f736e718713cac0e73f9998986f7b07e.tar.gz hercules-3478d705f736e718713cac0e73f9998986f7b07e.tar.bz2 hercules-3478d705f736e718713cac0e73f9998986f7b07e.tar.xz hercules-3478d705f736e718713cac0e73f9998986f7b07e.zip |
- Fixed a compile warning. Some minor format cleanups.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7733 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 1f70c6e5b..8db078e27 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -626,13 +626,6 @@ int mob_spawn (struct mob_data *md) md->db = mob_db(md->class_); if (md->spawn) memcpy(md->name,md->spawn->name,NAME_LENGTH); - /* - // Redundant? mob_parse_dataset already have the name copied. [Lance] - else if (battle_config.override_mob_names == 1) - memcpy(md->name,md->db->name,NAME_LENGTH); - else - memcpy(md->name,md->db->jname,NAME_LENGTH); - */ } if (md->spawn) { //Respawn data @@ -784,11 +777,9 @@ static int mob_ai_sub_hard_activesearch(struct block_list *bl,va_list ap) switch (bl->type) { case BL_PC: - { if (((TBL_PC*)bl)->state.gangsterparadise && !(status_get_mode(&md->bl)&MD_BOSS)) return 0; //Gangster paradise protection. - } default: if ((*target) && (*target)->type == BL_HOMUNCULUS && bl->type != BL_HOMUNCULUS) return 0; //For some reason Homun targets are never overriden. |