mirror of
https://github.com/rehlds/reapi.git
synced 2025-03-13 14:00:19 +03:00
Added more information about error
This commit is contained in:
parent
658dc07ca9
commit
daac725d34
@ -215,7 +215,7 @@ NOINLINE R DLLEXPORT _callForward(const hook_t* hook, original_t original, f_arg
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (unlikely(!hookCtx->retVal.set)) {
|
if (unlikely(!hookCtx->retVal.set)) {
|
||||||
fwd->Error(AMX_ERR_ASSERT, "Can't suppress original function call without new return value set");
|
fwd->Error(AMX_ERR_ASSERT, "Can't suppress original function call without new return value set, so you must call SetHookChainReturn.");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user