mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
check i not add, silly
This commit is contained in:
parent
52a79754d3
commit
48777e60ed
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ static const char *Newsnapshotfile(const char *pathname, const char *ext)
|
||||||
|
|
||||||
i += add * result;
|
i += add * result;
|
||||||
|
|
||||||
if (add < 0 || add > 9999)
|
if (i < 0 || i > 9999)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue