1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 07:45:39 +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)
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();