Skip to content

Commit

Permalink
SetHookChainArg: handle default case.
Browse files Browse the repository at this point in the history
fix #276
  • Loading branch information
wopox1337 committed Jul 1, 2023
1 parent 60f3230 commit 5c5478c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reapi/src/natives/natives_hookchains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ cell AMX_NATIVE_CALL SetHookChainArg(AMX *amx, cell *params)
case ATYPE_EVARS:
*(entvars_t **)destAddr = PEV(*srcAddr);
break;
default:
return FALSE;
}

return TRUE;
Expand Down

0 comments on commit 5c5478c

Please sign in to comment.