2
0
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:
s1lent 2019-07-29 21:43:07 +07:00
parent 658dc07ca9
commit daac725d34
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C

View File

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