mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Fix Ptr::toString
This commit is contained in:
parent
9087de1596
commit
6ba42314df
@ -102,7 +102,7 @@ namespace MWWorld
|
|||||||
{
|
{
|
||||||
if (mRef == nullptr)
|
if (mRef == nullptr)
|
||||||
return "null object";
|
return "null object";
|
||||||
std::string result = mRef->isDeleted() ? "object" : "deleted object";
|
std::string result = mRef->isDeleted() ? "deleted object" : "object";
|
||||||
result += mRef->mRef.getRefNum().toString();
|
result += mRef->mRef.getRefNum().toString();
|
||||||
result += " (";
|
result += " (";
|
||||||
result += mRef->getTypeDescription();
|
result += mRef->getTypeDescription();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user