mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-14 15:48:03 +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)...);
|
||||
|
||||
if (likely(ret == HC_CONTINUE)) {
|
||||
if (unlikely(ret != HC_SUPERCEDE && ret != HC_BREAK)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user