mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 03:40:49 +00:00
Merge branch 'fix_to_string' into 'master'
Fix Ptr::toString See merge request OpenMW/openmw!4165
This commit is contained in:
commit
f0019cafaa
@ -102,7 +102,7 @@ namespace MWWorld
|
||||
{
|
||||
if (mRef == nullptr)
|
||||
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 += " (";
|
||||
result += mRef->getTypeDescription();
|
||||
|
Loading…
x
Reference in New Issue
Block a user