remove debug

This commit is contained in:
Nikolay Korolev 2020-05-16 10:39:18 +03:00
parent a4562c5720
commit 5491a51daa

View file

@ -447,8 +447,6 @@ void CCivilianPed::UseNearbyAttractors()
CEntity* pEntity = (CEntity*)pNode->item; CEntity* pEntity = (CEntity*)pNode->item;
//if (pEntity->IsObject() && (CObject*)(pEntity)->IsBroken()) //if (pEntity->IsObject() && (CObject*)(pEntity)->IsBroken())
//continue; //continue;
if (pEntity->GetModelIndex() == 3181)
debug("get2\n");
CBaseModelInfo* pModelInfo = CModelInfo::GetModelInfo(pEntity->GetModelIndex()); CBaseModelInfo* pModelInfo = CModelInfo::GetModelInfo(pEntity->GetModelIndex());
for (int i = 0; i < pModelInfo->GetNum2dEffects(); i++) { for (int i = 0; i < pModelInfo->GetNum2dEffects(); i++) {
C2dEffect* pEffect = pModelInfo->Get2dEffect(i); C2dEffect* pEffect = pModelInfo->Get2dEffect(i);