AntiBhopCheat: fix runtime error

This commit is contained in:
BotoX 2018-08-10 14:52:30 +02:00
parent 9fc98d50b1
commit 3994e3ae1e

View File

@ -264,7 +264,7 @@ void DoStats(CPlayer Player, CStreak CurStreak, CJump hJump)
int iPrevJump = hJump.iPrevJump;
int iNextJump = hJump.iNextJump;
if(iPrevJump != -1)
if(iPrevJump > 0)
{
int iPerf = iPrevJump - 1;
if(iPerf > 2)