1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-04 01:37:47 +00:00

more consistent enum naming

This commit is contained in:
NotAdam 2018-08-25 22:58:13 +10:00
parent 7f448494ed
commit 81de462cbd
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ namespace Common {
/*! Can be equipped in either main or offhand slot */ /*! Can be equipped in either main or offhand slot */
MainOrOffHand = 14, // unused MainOrOffHand = 14, // unused
/*! Cannot equip gear to head */ /*! Cannot equip gear to head */
BodyAndHead = 15, BodyDisallowHead = 15,
/*! Cannot equip gear to hands, legs and feet slots */ /*! Cannot equip gear to hands, legs and feet slots */
BodyDisallowHandsLegsFeet = 16, BodyDisallowHandsLegsFeet = 16,
/*! Cannot equip gear to feet slot */ /*! Cannot equip gear to feet slot */

View file

@ -38,7 +38,7 @@ uint16_t Core::Items::Util::getCharaEquipSlotCategoryToArmoryId( uint8_t slotId
return Common::ArmoryHead; return Common::ArmoryHead;
case Common::CharaBody: case Common::CharaBody:
case Common::BodyAndHead: case Common::BodyDisallowHead:
case Common::BodyDisallowHandsLegsFeet: case Common::BodyDisallowHandsLegsFeet:
case Common::BodyDisallowAll: case Common::BodyDisallowAll:
case Common::BodyDisallowHands: case Common::BodyDisallowHands: