[Scummvm-git-logs] scummvm master -> bc29219b16e887acc75428298149531853890a84
dreammaster
dreammaster at scummvm.org
Wed Jan 10 03:27:31 CET 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bc29219b16 XEEN: Fix monsters starting ranged attacks
Commit: bc29219b16e887acc75428298149531853890a84
https://github.com/scummvm/scummvm/commit/bc29219b16e887acc75428298149531853890a84
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-01-09T21:27:19-05:00
Commit Message:
XEEN: Fix monsters starting ranged attacks
Changed paths:
engines/xeen/combat.cpp
diff --git a/engines/xeen/combat.cpp b/engines/xeen/combat.cpp
index fe2eaa9..43e6d20 100644
--- a/engines/xeen/combat.cpp
+++ b/engines/xeen/combat.cpp
@@ -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;
More information about the Scummvm-git-logs
mailing list