diff options
-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 e5e518fa37..21a743b59f 100644 --- a/engines/xeen/combat.cpp +++ b/engines/xeen/combat.cpp @@ -1093,7 +1093,7 @@ void Combat::setSpeedTable() { if (_speedTable.empty()) { _whosSpeed = 0; } else if (_whosSpeed >= (int)_speedTable.size() || _speedTable[_whosSpeed] != oldSpeed) { - for (_whosSpeed = 0; _whosSpeed < (int)charSpeeds.size(); ++_whosSpeed) { + for (_whosSpeed = 0; _whosSpeed < (int)_speedTable.size(); ++_whosSpeed) { if (oldSpeed == _speedTable[_whosSpeed]) break; } |