Merge pull request #416 from hateborne/master

Making $npc->RemoveFromHateList actually work
This commit is contained in:
JJ 2015-05-25 11:20:37 -04:00
commit aaca6fd2d9

View File

@ -823,7 +823,7 @@ XS(XS_NPC_RemoveFromHateList)
if(ent == nullptr)
Perl_croak(aTHX_ "ent is nullptr, avoiding crash.");
THIS->RemoveFromHateList(ent);
THIS->CastToMob()->RemoveFromHateList(ent);
}
XSRETURN_EMPTY;