mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-21 09:14:05 +00:00
Fix issue #111
This commit is contained in:
parent
f74734cfba
commit
2eda48acca
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#include "WorldController.hpp"
|
#include "WorldController.hpp"
|
||||||
#include "Main.hpp"
|
#include "Main.hpp"
|
||||||
|
#include "LocalPlayer.hpp"
|
||||||
|
|
||||||
|
|
||||||
mwmp::WorldController::WorldController()
|
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",
|
LOG_APPEND(Log::LOG_VERBOSE, " - Item. Refid: \"%s\" Count: %d",
|
||||||
iter->getCellRef().getRefId().c_str(), iter->getRefData().getCount());
|
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.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue