mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-01 06:09:40 +00:00
Find items by mRefNum.mIndex instead of mRefNum for WorldPackets
This commit is contained in:
parent
6bfaf3be50
commit
a6fa0073a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue