Skip to content

Commit

Permalink
Use EOS constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikusch committed Apr 20, 2022
1 parent eec8371 commit f68a646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/tf-bhop.sp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public void OnClientCookiesCached(int client)
g_CookieAutoBunnyhoppingDisabled.Get(client, value, sizeof(value));

bool result;
if (value[0] != '\0' && StringToIntEx(value, result) > 0)
if (value[0] != EOS && StringToIntEx(value, result) != 0)
g_IsAutobunnyHoppingDisabled[client] = result;
}

Expand Down

0 comments on commit f68a646

Please sign in to comment.