make robes cover the chest slot

pull/2726/head
Evil Eye 5 years ago
parent d8e1a6b286
commit 4f4982545a

@ -587,7 +587,7 @@ void NpcAnimation::updateParts()
int mBasePriority; int mBasePriority;
} slotlist[] = { } slotlist[] = {
// FIXME: Priority is based on the number of reserved slots. There should be a better way. // FIXME: Priority is based on the number of reserved slots. There should be a better way.
{ MWWorld::InventoryStore::Slot_Robe, 12 }, { MWWorld::InventoryStore::Slot_Robe, 11 },
{ MWWorld::InventoryStore::Slot_Skirt, 3 }, { MWWorld::InventoryStore::Slot_Skirt, 3 },
{ MWWorld::InventoryStore::Slot_Helmet, 0 }, { MWWorld::InventoryStore::Slot_Helmet, 0 },
{ MWWorld::InventoryStore::Slot_Cuirass, 0 }, { MWWorld::InventoryStore::Slot_Cuirass, 0 },
@ -641,7 +641,7 @@ void NpcAnimation::updateParts()
ESM::PartReferenceType parts[] = { ESM::PartReferenceType parts[] = {
ESM::PRT_Groin, ESM::PRT_Skirt, ESM::PRT_RLeg, ESM::PRT_LLeg, ESM::PRT_Groin, ESM::PRT_Skirt, ESM::PRT_RLeg, ESM::PRT_LLeg,
ESM::PRT_RUpperarm, ESM::PRT_LUpperarm, ESM::PRT_RKnee, ESM::PRT_LKnee, ESM::PRT_RUpperarm, ESM::PRT_LUpperarm, ESM::PRT_RKnee, ESM::PRT_LKnee,
ESM::PRT_RForearm, ESM::PRT_LForearm ESM::PRT_RForearm, ESM::PRT_LForearm, ESM::PRT_Cuirass
}; };
size_t parts_size = sizeof(parts)/sizeof(parts[0]); size_t parts_size = sizeof(parts)/sizeof(parts[0]);
for(size_t p = 0;p < parts_size;++p) for(size_t p = 0;p < parts_size;++p)

Loading…
Cancel
Save