mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 22:19:40 +00:00
Fix shadowing warning
This commit is contained in:
parent
2a505b427d
commit
db2f97f308
1 changed files with 3 additions and 3 deletions
|
@ -149,9 +149,9 @@ void Objects::removeCell(const MWWorld::CellStore* store)
|
||||||
|
|
||||||
if (ptr.getClass().isNpc() && ptr.getRefData().getCustomData())
|
if (ptr.getClass().isNpc() && ptr.getRefData().getCustomData())
|
||||||
{
|
{
|
||||||
MWWorld::InventoryStore& store = ptr.getClass().getInventoryStore(ptr);
|
MWWorld::InventoryStore& invStore = ptr.getClass().getInventoryStore(ptr);
|
||||||
store.setInvListener(NULL, ptr);
|
invStore.setInvListener(NULL, ptr);
|
||||||
store.setContListener(NULL);
|
invStore.setContListener(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
mObjects.erase(iter++);
|
mObjects.erase(iter++);
|
||||||
|
|
Loading…
Reference in a new issue