mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-15 08:08:08 +03:00
Fix duplicate errors
This commit is contained in:
parent
2e4ef61e9e
commit
89e1730a79
@ -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)...);
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user