1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 21:45:33 +00:00

Merge pull request #2055 from Capostrophic/regression

[Regression] Fix incorrect event argument which messed with hidden light pointers
This commit is contained in:
Bret Curtis 2018-12-04 16:33:18 +01:00 committed by GitHub
commit 45d7c005ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ MWWorld::ContainerStoreIterator MWWorld::InventoryStore::add(const Ptr& itemPtr,
} }
if (mListener) if (mListener)
mListener->itemAdded(itemPtr, count); mListener->itemAdded(*retVal, count);
return retVal; return retVal;
} }