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:
parent
84179c262f
commit
3dec10c686
@ -371,7 +371,7 @@ namespace MWMechanics
|
|||||||
storage.setState(Wander_Walking, true);
|
storage.setState(Wander_Walking, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} while (attempts--);
|
} while (--attempts);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user