Some more general cleanup.

This commit is contained in:
Ottermandias 2021-07-27 00:13:36 +02:00
parent 44fc83784d
commit 3679b780cf
13 changed files with 116 additions and 111 deletions

View file

@ -74,7 +74,7 @@ namespace Penumbra.GameData
switch( ( EquipSlot )item.EquipSlotCategory.Row )
{
case EquipSlot.MainHand:
case EquipSlot.Offhand:
case EquipSlot.OffHand:
case EquipSlot.BothHand:
if( item.ModelMain != 0 )
{
@ -88,7 +88,7 @@ namespace Penumbra.GameData
break;
// Accessories
case EquipSlot.RingR:
case EquipSlot.RFinger:
case EquipSlot.Wrists:
case EquipSlot.Ears:
case EquipSlot.Neck:
@ -304,7 +304,7 @@ namespace Penumbra.GameData
switch( slot )
{
case EquipSlot.MainHand:
case EquipSlot.Offhand:
case EquipSlot.OffHand:
{
var (begin, _) = FindIndexRange( _weapons, ( ( ulong )setId << 32 ) | ( ( ulong )weaponType << 16 ) | variant,
0xFFFFFFFFFFFF );