Skip to content

Commit

Permalink
XEEN: Fix monsters starting ranged attacks
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 10, 2018
1 parent 3956dc4 commit bc29219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/combat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ void Combat::setupMonsterAttack(int monsterDataIndex, const Common::Point &pt) {
Party &party = *_vm->_party;

for (int idx = 0; idx < 36; ++idx) {
if (_gmonHit[idx] != -1) {
if (_gmonHit[idx] == -1) {
int result = stopAttack(pt - party._mazePosition);
if (result) {
_monstersAttacking = true;
Expand Down

0 comments on commit bc29219

Please sign in to comment.