Skip to content

Commit a64710d

Browse files
committed
Removed useless function calls in DeleteElementSpecial
1 parent 7cf982b commit a64710d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Client/mods/deathmatch/logic/CElementDeleter.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ void CElementDeleter::DeleteRecursive ( class CClientEntity* pElement )
8181
// because element has been deleted
8282
bool CElementDeleter::DeleteElementSpecial ( CClientEntity* pElement )
8383
{
84-
// Mark us as being deleted, unlink from parent and unlink from manager classes eventually
85-
pElement->SetBeingDeleted ( true );
86-
pElement->SetParent ( NULL );
87-
pElement->Unlink ();
88-
8984
if ( IS_IFP ( pElement ) )
9085
{
9186
DeleteIFP ( pElement );

0 commit comments

Comments
 (0)