diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/combat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/combat.cpp b/engines/xeen/combat.cpp index 603b6aef71..6c293bc36d 100644 --- a/engines/xeen/combat.cpp +++ b/engines/xeen/combat.cpp @@ -1108,7 +1108,7 @@ void Combat::setSpeedTable() { // Populate the _speedTable list with the character/monster indexes // in order of attacking speed _speedTable.clear(); - for (; maxSpeed >= 0; --maxSpeed) { + for (; maxSpeed > 0; --maxSpeed) { for (uint idx = 0; idx < charSpeeds.size(); ++idx) { if (charSpeeds[idx] == maxSpeed) _speedTable.push_back(idx); |