Merge pull request #2055 from Capostrophic/regression

[Regression] Fix incorrect event argument which messed with hidden light pointers
pull/541/head
Bret Curtis 6 years ago committed by GitHub
commit 45d7c005ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save