mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 05:44:08 +00:00
some fixes and cosmetic changes
This commit is contained in:
parent
d9a3533438
commit
5b605c1271
8 changed files with 34 additions and 23 deletions
|
@ -76,7 +76,7 @@ static int32 NextValidModelId(int32 mi, int32 step)
|
|||
int32 i = mi;
|
||||
while (result == -1) {
|
||||
i += step;
|
||||
if (i < 0 || i > 5500) {
|
||||
if (i < 0 || i > MODELINFOSIZE) {
|
||||
step = -step;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue