Don't override hook result in BlockedPost.

This commit is contained in:
Ryan Stecker 2014-09-02 13:01:18 -05:00
parent 88c6d3d9a7
commit cae1d0dec1

View File

@ -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);
}