mirror of
https://github.com/rehlds/reapi.git
synced 2025-03-13 14:00:19 +03:00
Replace SetTouch to SetBlocked in CEntityCallback::SetBlocked (#109)
This commit is contained in:
parent
8d005735ec
commit
8cbcf3561c
@ -125,7 +125,7 @@ bool CEntityCallback::SetBlocked(AMX *amx, CBaseEntity *pEntity, const char *psz
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_callbacks.push_back(new CAmxxHook<eCallback_t>(amx, pszCallback, fwdid, new eCallback_t(pEntity, pParams, iParamsLen, CType_Blocked)));
|
m_callbacks.push_back(new CAmxxHook<eCallback_t>(amx, pszCallback, fwdid, new eCallback_t(pEntity, pParams, iParamsLen, CType_Blocked)));
|
||||||
pEntity->SetTouch(&CBaseEntity::SUB_Blocked);
|
pEntity->SetBlocked(&CBaseEntity::SUB_Blocked);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user