1
0
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:
elsid 2024-06-09 04:08:18 +02:00
parent 9087de1596
commit 6ba42314df
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -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();