mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:15:31 +00:00
Update variable to prevent underflowing
While not an issue presently, the variable may be used in the future in a way that could create issues if it underflows.
This commit is contained in:
parent
84179c262f
commit
3dec10c686
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ namespace MWMechanics
|
||||||
storage.setState(Wander_Walking, true);
|
storage.setState(Wander_Walking, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} while (attempts--);
|
} while (--attempts);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue