Permalink
Browse files

Remove commented code from CClientPed::GetContactEntity

  • Loading branch information...
codenulls committed Dec 13, 2018
1 parent 64a6a88 commit a8c5bd0e1654736cb8f0b3075fed3a11818b6885
Showing with 0 additions and 24 deletions.
  1. +0 −24 Client/mods/deathmatch/logic/CClientPed.cpp
@@ -5081,30 +5081,6 @@ CClientEntity* CClientPed::GetContactEntity(void)
}
}
return pReturn;

/* CPools* pPools = g_pGame->GetPools();
CClientEntity* pReturn = NULL;
if (m_pPlayerPed)
{
CEntity* pEntity = m_pPlayerPed->GetContactEntity();
if (pEntity)
{
switch (pEntity->GetEntityType())
{
case ENTITY_TYPE_VEHICLE:
{
pReturn = m_pManager->GetVehicleManager()->Get(reinterpret_cast<CVehicle*>(pEntity), false);
break;
}
case ENTITY_TYPE_OBJECT:
pReturn = m_pManager->GetObjectManager()->Get(reinterpret_cast<CObject*>(pEntity), false);
break;
default:
break;
}
}
}
return pReturn;*/
}

bool CClientPed::HasAkimboPointingUpwards(void)

0 comments on commit a8c5bd0

Please sign in to comment.