2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-03-13 05:50:16 +03:00

SetHookChainArg: handle default case.

fix #276
This commit is contained in:
Sergey Shorokhov 2023-07-01 13:49:45 +03:00
parent 60f32302ee
commit 5c5478c879

View File

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