diff options
-rw-r--r-- | engines/xeen/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp index 5bbc6abea1..3147d0a47e 100644 --- a/engines/xeen/interface.cpp +++ b/engines/xeen/interface.cpp @@ -1693,8 +1693,8 @@ void Interface::doCombat() { // Handling for if the combat turn is complete if (combat.allHaveGone()) { - Common::fill(&combat._charsGone[0], &combat._charsGone[combat._charsGone.size()], false); - Common::fill(&combat._charsBlocked[0], &combat._charsBlocked[combat._charsBlocked.size()], false); + Common::fill(&combat._charsGone[0], &combat._charsGone[0] + combat._charsGone.size(), false); + Common::fill(&combat._charsBlocked[0], &combat._charsBlocked[0] + combat._charsBlocked.size(), false); combat.setSpeedTable(); combat._whosTurn = -1; combat._whosSpeed = -1; |