mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +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;
|
||||
|
||||
if (add < 0 || add > 9999)
|
||||
if (i < 0 || i > 9999)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue