1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-20 20:39:42 +00:00

[Client] Remove variable redeclarations

This commit is contained in:
David Cernat 2020-02-08 15:08:07 +02:00
parent 4841c1ad4c
commit b97fa7553c
2 changed files with 0 additions and 2 deletions

View file

@ -141,7 +141,6 @@ namespace MWGui
*/
//source.getClass().restock(source);
mwmp::ObjectList *objectList = mwmp::Main::get().getNetworking()->getObjectList();
objectList->reset();
objectList->packetOrigin = mwmp::CLIENT_GAMEPLAY;
objectList->addObjectGeneric(source);

View file

@ -708,7 +708,6 @@ void ObjectList::restockObjects(MWWorld::CellStore* cellStore)
cell = *ptrFound.getCell()->getCell();
action = mwmp::BaseObjectList::SET;
containerSubAction = mwmp::BaseObjectList::RESTOCK_RESULT;
mwmp::BaseObject baseObject = getBaseObjectFromPtr(ptrFound);
addEntireContainer(ptrFound);
sendContainer();
}