mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 20:45:34 +00:00
Use container ID in Equip command warning
This commit is contained in:
parent
372697489b
commit
ce78a34010
1 changed files with 3 additions and 2 deletions
|
@ -192,8 +192,9 @@ namespace MWScript
|
||||||
if (it == invStore.end())
|
if (it == invStore.end())
|
||||||
{
|
{
|
||||||
it = ptr.getClass().getContainerStore (ptr).add (item, 1, ptr);
|
it = ptr.getClass().getContainerStore (ptr).add (item, 1, ptr);
|
||||||
Log(Debug::Warning) << "Implicitly adding one " << item << " to container "
|
Log(Debug::Warning) << "Implicitly adding one " << item <<
|
||||||
"to fulfil requirements of Equip instruction";
|
" to the inventory store of " << ptr.getCellRef().getRefId() <<
|
||||||
|
" to fulfill the requirements of Equip instruction";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ptr == MWMechanics::getPlayer())
|
if (ptr == MWMechanics::getPlayer())
|
||||||
|
|
Loading…
Reference in a new issue