Quellcode durchsuchen

- Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the items (0x80000 should be for them and 0x100000 should be currently unused)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8368 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex vor 19 Jahren
Ursprung
Commit
3a2a32f22b
2 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  1. 3 0
      Changelog-Trunk.txt
  2. 3 2
      src/map/itemdb.c

+ 3 - 0
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/08/19
+	* Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
+	  items (0x80000 should be for them and 0x100000 should be currently unused)
+	  [Skotlex]
 	* Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
 	* Fixed HAMI_CASTLE [Toms]
 	* Fixed HLIF_CHANGE [Toms]

+ 3 - 2
src/map/itemdb.c

@@ -190,8 +190,9 @@ static void itemdb_jobid2mapid(unsigned int *bclass, unsigned int jobmask)
 		bclass[2] |= 1<<MAPID_MERCHANT;
 	if (jobmask & 1<<JOB_BARD)
 		bclass[2] |= 1<<MAPID_ARCHER;
-	if (jobmask & 1<<JOB_DANCER)
-		bclass[2] |= 1<<MAPID_ARCHER;
+//	Bard/Dancer share the same slot now.
+//	if (jobmask & 1<<JOB_DANCER)
+//		bclass[2] |= 1<<MAPID_ARCHER;
 	if (jobmask & 1<<JOB_ROGUE)
 		bclass[2] |= 1<<MAPID_THIEF;
 	//Special classes that don't fit above.