summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/mob.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index f8089eb5e..1e1138de7 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/04/11
+ * 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! [Skotlex]
* Cleaned up implementation of BlastMine and Claymore Trap. [Skotlex]
* Added Freezing trap information to battle_calc_weapon attack. [Skotlex]
* Merged the can't walk delay code into the weapon-damage delay one, means
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;