View Single Post
  #1  
Old 08-09-2007, 10:17 PM
inkubus
Hill Giant
 
Join Date: Feb 2002
Posts: 146
Default 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!
Reply With Quote