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:
Karrz1
2026-11-16 20:48:01 +00:00
parent f6c8be4a43
commit e7cfba6542
+1 -2
View File
@@ -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)