Find items by mRefNum.mIndex instead of mRefNum for WorldPackets

pull/112/merge
David Cernat 8 years ago
parent 6bfaf3be50
commit a6fa0073a0

@ -184,7 +184,7 @@ namespace
bool operator()(const PtrType& ptr)
{
if (ptr.getCellRef().getRefNum() == mRefNumToFind)
if (ptr.getCellRef().getRefNum().mIndex == mRefNumToFind.mIndex)
{
mFound = ptr;
return false;

Loading…
Cancel
Save