diff options
author | Paul Gilbert | 2018-01-14 20:42:41 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-01-14 20:42:41 -0500 |
commit | f44fd786503b118bab9bdfb039e3cd03c0e1127a (patch) | |
tree | fd97d9a5e7c63ba9c42b27e4983415ab1b8738a3 /engines/xeen/combat.cpp | |
parent | 269ab8841d0cdfce44c4884cfda7aff18f047028 (diff) | |
download | scummvm-rg350-f44fd786503b118bab9bdfb039e3cd03c0e1127a.tar.gz scummvm-rg350-f44fd786503b118bab9bdfb039e3cd03c0e1127a.tar.bz2 scummvm-rg350-f44fd786503b118bab9bdfb039e3cd03c0e1127a.zip |
XEEN: Fix monsters to only fire one arrow per target
Diffstat (limited to 'engines/xeen/combat.cpp')
-rw-r--r-- | engines/xeen/combat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/combat.cpp b/engines/xeen/combat.cpp index 6a0aa20169..0184ac2c79 100644 --- a/engines/xeen/combat.cpp +++ b/engines/xeen/combat.cpp @@ -659,10 +659,13 @@ void Combat::setupMonsterAttack(int monsterDataIndex, const Common::Point &pt) { for (int charNum = 0; charNum < MAX_PARTY_COUNT; ++charNum) { if (!_shooting[charNum]) { _shooting[charNum] = COMBAT_SHOOTING[result - 1]; + break; } } } } + + break; } } } |