Don't override hook result in BlockedPost.
This commit is contained in:
parent
88c6d3d9a7
commit
cae1d0dec1
@ -1598,11 +1598,7 @@ void SDKHooks::Hook_Blocked(CBaseEntity *pOther)
|
||||
|
||||
void SDKHooks::Hook_BlockedPost(CBaseEntity *pOther)
|
||||
{
|
||||
cell_t result = Call(META_IFACEPTR(CBaseEntity), SDKHook_BlockedPost, pOther);
|
||||
|
||||
if(result >= Pl_Handled)
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
|
||||
Call(META_IFACEPTR(CBaseEntity), SDKHook_BlockedPost, pOther);
|
||||
RETURN_META(MRES_IGNORED);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user