Skip to content

Commit

Permalink
Merge pull request #1372 from Jhobean/patch-1
Browse files Browse the repository at this point in the history
Add a warning line when an item is delete on save
  • Loading branch information
raydienull authored Jan 28, 2025
2 parents b0cdb39 + f8b5b40 commit 32e14a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/CWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ int CWorldThread::FixObj( CObjBase * pObj, dword dwUID )
CItem * pItem = dynamic_cast <CItem*>(pObj);
if ( pItem != nullptr && pItem->IsType(IT_EQ_MEMORY_OBJ) )
{
ReportGarbageCollection(pObj, iResultCode);
pObj->Delete();
return iResultCode;
}
Expand Down

0 comments on commit 32e14a6

Please sign in to comment.