summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-12 02:28:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-12 02:28:43 +0000
commit0fff381fcb3cf402f579b4dd62d15f3e6323f014 (patch)
tree7fbb8797d62c271127f88b0e8aa567243f9a8915 /src/map/mob.c
parent09a4c48b4c47691962161bb3dd3faf9bbb5fd6ee (diff)
downloadhercules-0fff381fcb3cf402f579b4dd62d15f3e6323f014.tar.gz
hercules-0fff381fcb3cf402f579b4dd62d15f3e6323f014.tar.bz2
hercules-0fff381fcb3cf402f579b4dd62d15f3e6323f014.tar.xz
hercules-0fff381fcb3cf402f579b4dd62d15f3e6323f014.zip
- Removed the piece of code that "guesses" that job classes between 24 and 68 are advanced classes from mob_avail reading since they conflict with NJ/GS. Use the correct class numbers from now on!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6000 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index b9c90c1f3..d532aa75a 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3318,8 +3318,6 @@ static int mob_readdb_mobavail(void)
k=atoi(str[1]);
if(k < 0)
continue;
- if (j >= 12 && k > 23 && k < 69)
- k += 3977; // advanced job/baby class
memset(&mob_db_data[class_]->vd, 0, sizeof(struct view_data));
mob_db_data[class_]->vd.class_=k;