Merge branch 'fix_to_string' into 'master'

Fix Ptr::toString

See merge request OpenMW/openmw!4165
esm4-texture
Alexei Kotov 7 months ago
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…
Cancel
Save