mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 09:53:50 +00:00
small fix
This commit is contained in:
parent
b035a5aa4a
commit
375961fe5e
1 changed files with 4 additions and 2 deletions
|
@ -40,7 +40,7 @@ namespace MWWorld
|
||||||
slot!=slots.first.end(); ++slot)
|
slot!=slots.first.end(); ++slot)
|
||||||
{
|
{
|
||||||
|
|
||||||
// Beast races cannot equip shoes / boots
|
// Beast races cannot equip shoes / boots, or full helms (head part vs hair part)
|
||||||
if(npcRace == "argonian" || npcRace == "khajiit")
|
if(npcRace == "argonian" || npcRace == "khajiit")
|
||||||
{
|
{
|
||||||
if(*slot == MWWorld::InventoryStore::Slot_Helmet){
|
if(*slot == MWWorld::InventoryStore::Slot_Helmet){
|
||||||
|
@ -56,7 +56,9 @@ namespace MWWorld
|
||||||
{
|
{
|
||||||
if((*itr).mPart == ESM::PartReferenceType::PRT_Head)
|
if((*itr).mPart == ESM::PartReferenceType::PRT_Head)
|
||||||
{
|
{
|
||||||
|
if(actor == MWBase::Environment::get().getWorld()->getPlayer().getPlayer() )
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox ("#{sNotifyMessage13}", std::vector<std::string>());
|
MWBase::Environment::get().getWindowManager()->messageBox ("#{sNotifyMessage13}", std::vector<std::string>());
|
||||||
|
|
||||||
allow = false;
|
allow = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue