1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 03:45:35 +00:00
This commit is contained in:
Koncord 2016-12-16 18:13:44 +08:00
parent f74734cfba
commit 2eda48acca

View file

@ -7,6 +7,7 @@
#include "WorldController.hpp"
#include "Main.hpp"
#include "LocalPlayer.hpp"
mwmp::WorldController::WorldController()
@ -74,4 +75,5 @@ void mwmp::WorldController::closeContainer(const MWWorld::Ptr &container)
LOG_APPEND(Log::LOG_VERBOSE, " - Item. Refid: \"%s\" Count: %d",
iter->getCellRef().getRefId().c_str(), iter->getRefData().getCount());
}
mwmp::Main::get().getLocalPlayer()->sendInventory(); // FIXME: must send only if there is a changes in the inventory.
}