Fixed issue with underflow in ScriptAggregator.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3358bf7378
commit
32bb641f75
|
@ -40,7 +40,9 @@ namespace CreatureLib::Battling {
|
|||
|
||||
inline void Reset() {
|
||||
_index = 0;
|
||||
if (_scripts[_index].IsSet()) {
|
||||
_setIndex = -1;
|
||||
}
|
||||
IncrementToNextNotNull(false);
|
||||
}
|
||||
inline bool HasNext() { return _index < _size; }
|
||||
|
|
Loading…
Reference in New Issue