Fix: Invis Vs Undead = Invis to anything
In faction.cpp
Change: Lines 445
if (invisible_undead && tnpc && !tnpc->SeeInvisibleUndead())
{
return FACTION_INDIFFERENT;
}
To:
if (invisible_undead && tnpc && !tnpc->SeeInvisibleUndead())
{
if (tnpc->GetBodyType() == BT_Undead || tnpc->GetBodyType() == BT_SummonedUndead)
{
return FACTION_INDIFFERENT;
}
}
Appears the issue wasn't checking body types like it should have been, making IVU the greatest invis any man (or woman) has ever seen!
|