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

View File

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