Skinning: SIN's skinning knife fix as he wrote it
Our version (b5c73ffe7) already had SIN's code line for line; only the comment was ours. It now carries his comment, so the fix is his as given. Code by SIN (1amcoff1n), Skinning Knife for 0.1.35. His prebuilt worldserver.exe is not used.
This commit is contained in:
@@ -11037,8 +11037,7 @@ bool Player::HasItemTotemCategory(uint32 TotemCategory) const
|
||||
return true;
|
||||
}
|
||||
|
||||
// Classic 1.60: a profession bag may sit in the reagent bag slot (ITEM_FLAG5_CLASSIC_FITS_REAGENT_BAG_SLOT), and a tool
|
||||
// stored in it (skinning knife, mining pick) still counts, so the bag slots and the reagent bag slot are searched as one range
|
||||
// Profession bags can also occupy the reagent bag slot immediately after the regular bags.
|
||||
static_assert(uint8(INVENTORY_SLOT_BAG_END) == uint8(REAGENT_BAG_SLOT_START));
|
||||
Bag* bag;
|
||||
for (uint8 i = INVENTORY_SLOT_BAG_START; i < REAGENT_BAG_SLOT_END; ++i)
|
||||
|
||||
Reference in New Issue
Block a user