mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 18:39:40 +00:00
[Client] Remove variable redeclarations
This commit is contained in:
parent
4841c1ad4c
commit
b97fa7553c
2 changed files with 0 additions and 2 deletions
|
@ -141,7 +141,6 @@ namespace MWGui
|
||||||
*/
|
*/
|
||||||
//source.getClass().restock(source);
|
//source.getClass().restock(source);
|
||||||
|
|
||||||
mwmp::ObjectList *objectList = mwmp::Main::get().getNetworking()->getObjectList();
|
|
||||||
objectList->reset();
|
objectList->reset();
|
||||||
objectList->packetOrigin = mwmp::CLIENT_GAMEPLAY;
|
objectList->packetOrigin = mwmp::CLIENT_GAMEPLAY;
|
||||||
objectList->addObjectGeneric(source);
|
objectList->addObjectGeneric(source);
|
||||||
|
|
|
@ -708,7 +708,6 @@ void ObjectList::restockObjects(MWWorld::CellStore* cellStore)
|
||||||
cell = *ptrFound.getCell()->getCell();
|
cell = *ptrFound.getCell()->getCell();
|
||||||
action = mwmp::BaseObjectList::SET;
|
action = mwmp::BaseObjectList::SET;
|
||||||
containerSubAction = mwmp::BaseObjectList::RESTOCK_RESULT;
|
containerSubAction = mwmp::BaseObjectList::RESTOCK_RESULT;
|
||||||
mwmp::BaseObject baseObject = getBaseObjectFromPtr(ptrFound);
|
|
||||||
addEntireContainer(ptrFound);
|
addEntireContainer(ptrFound);
|
||||||
sendContainer();
|
sendContainer();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue