AntiBhopCheat: fix runtime error
This commit is contained in:
parent
9fc98d50b1
commit
3994e3ae1e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user