mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
[Client] Reduce container debug spam by requiring VERBOSE logging for it
This commit is contained in:
parent
914b79fcc9
commit
fec500c4b0
@ -80,14 +80,14 @@ void ObjectList::addContainerItem(mwmp::BaseObject& baseObject, const MWWorld::P
|
|||||||
containerItem.enchantmentCharge = itemPtr.getCellRef().getEnchantmentCharge();
|
containerItem.enchantmentCharge = itemPtr.getCellRef().getEnchantmentCharge();
|
||||||
containerItem.actionCount = actionCount;
|
containerItem.actionCount = actionCount;
|
||||||
|
|
||||||
LOG_APPEND(Log::LOG_INFO, "--- Adding container item %s", containerItem.refId.c_str());
|
LOG_APPEND(Log::LOG_VERBOSE, "--- Adding container item %s", containerItem.refId.c_str());
|
||||||
|
|
||||||
baseObject.containerItems.push_back(containerItem);
|
baseObject.containerItems.push_back(containerItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObjectList::addEntireContainer(const MWWorld::Ptr& ptr)
|
void ObjectList::addEntireContainer(const MWWorld::Ptr& ptr)
|
||||||
{
|
{
|
||||||
LOG_APPEND(Log::LOG_INFO, "-- Adding entire container %s %i-%i", ptr.getCellRef().getRefId().c_str(),
|
LOG_APPEND(Log::LOG_VERBOSE, "-- Adding entire container %s %i-%i", ptr.getCellRef().getRefId().c_str(),
|
||||||
ptr.getCellRef().getRefNum().mIndex, ptr.getCellRef().getMpNum());
|
ptr.getCellRef().getRefNum().mIndex, ptr.getCellRef().getMpNum());
|
||||||
|
|
||||||
MWWorld::ContainerStore& containerStore = ptr.getClass().getContainerStore(ptr);
|
MWWorld::ContainerStore& containerStore = ptr.getClass().getContainerStore(ptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user