Unverified Commit 89e1730a authored by s1lent's avatar s1lent

Fix duplicate errors

parent 2e4ef61e
......@@ -210,7 +210,7 @@ NOINLINE R DLLEXPORT _callForward(const hook_t* hook, original_t original, f_arg
{
auto ret = g_amxxapi.ExecuteForward(fwd->GetIndex(), std::forward<f_args &&>(args)...);
if (likely(ret == HC_CONTINUE)) {
if (unlikely(ret != HC_SUPERCEDE && ret != HC_BREAK)) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment