1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-18 18:40:06 +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:
Austin Salgat 2016-04-16 17:51:13 -05:00
parent 84179c262f
commit 3dec10c686

View File

@ -371,7 +371,7 @@ namespace MWMechanics
storage.setState(Wander_Walking, true); storage.setState(Wander_Walking, true);
return; return;
} }
} while (attempts--); } while (--attempts);
} }
/* /*