Permalink
Browse files

Remove commented code

  • Loading branch information...
codenulls committed Dec 13, 2018
1 parent d17619f commit ab82d1dc2e1b209cef5dd2d73bda589c7abd1c22
Showing with 1 addition and 16 deletions.
  1. +0 −8 Client/game_sa/CGameSA.cpp
  2. +1 −8 Client/game_sa/CPoolsSA.cpp
@@ -352,14 +352,6 @@ BOOL CGameSA::InitLocalPlayer(CClientPed* pClientPed)
{
DEBUG_TRACE("BOOL CGameSA::InitLocalPlayer( )");

// Added by ChrML - Looks like it isn't safe to call this more than once but mod code might do
/*static bool bAlreadyInited = false;
if (bAlreadyInited)
{
return TRUE;
}
bAlreadyInited = true;
*/
CPoolsSA* pools = (CPoolsSA*)this->GetPools();
if (pools)
{
@@ -601,14 +601,7 @@ CPed* CPoolsSA::AddCivilianPed(DWORD* pGameInterface)
}
else
{
/*
// Create it
pPed = new CCivilianPedSA(pInterface);
if (!AddPedToPool(pClientPed, pPed))
{
delete pPed;
pPed = NULL;
}*/
// create new ped here
}
}
}

0 comments on commit ab82d1d

Please sign in to comment.