mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Find items by mRefNum.mIndex instead of mRefNum for WorldPackets
This commit is contained in:
parent
6bfaf3be50
commit
a6fa0073a0
@ -184,7 +184,7 @@ namespace
|
|||||||
|
|
||||||
bool operator()(const PtrType& ptr)
|
bool operator()(const PtrType& ptr)
|
||||||
{
|
{
|
||||||
if (ptr.getCellRef().getRefNum() == mRefNumToFind)
|
if (ptr.getCellRef().getRefNum().mIndex == mRefNumToFind.mIndex)
|
||||||
{
|
{
|
||||||
mFound = ptr;
|
mFound = ptr;
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user