From 577c8c5f6177e3a0c4206d14e59ef3842cd046aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Thu, 3 Jun 2004 09:01:42 +0000 Subject: [PATCH] Fixed cs_set_hostage_foll() --- dlls/cstrike/cstrike.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/cstrike/cstrike.cpp b/dlls/cstrike/cstrike.cpp index aaf60ed3..f4602405 100755 --- a/dlls/cstrike/cstrike.cpp +++ b/dlls/cstrike/cstrike.cpp @@ -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; }