2
0
mirror of https://github.com/alliedmodders/amxmodx.git synced 2025-07-29 08:31:51 +03:00

Fixed cs_set_hostage_foll()

This commit is contained in:
Johnny Bergström 2004-06-03 09:01:42 +00:00
parent 5ce181a995
commit 577c8c5f61

@ -1230,7 +1230,8 @@ static cell AMX_NATIVE_CALL cs_set_hostage_follow(AMX *amx, cell *params) // cs_
return 0;
}
if (params[2] == -1) {
// Set to not follow anything?
if (params[2] == 0) {
*((int *)pHostage->pvPrivateData + OFFSET_HOSTAGEFOLLOW) = 0;
return 1;
}