Skip to content

Commit

Permalink
Add a warning line when an item is delete on save
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhobean authored Jan 20, 2025
1 parent b6430d1 commit f8b5b40
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 f8b5b40

Please sign in to comment.