Skip to content

Commit

Permalink
Fix Ptr::toString
Browse files Browse the repository at this point in the history
  • Loading branch information
elsid committed Jun 9, 2024
1 parent 9087de1 commit 6ba4231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/mwworld/ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6ba4231

Please sign in to comment.