aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-25 00:10:35 -0400
committerPaul Gilbert2018-03-25 00:10:35 -0400
commit0d73b1f5df1a96a6dc6fd09b09216fde94811265 (patch)
tree4c340af3d5cbb8e066dc5d248b29d87cbc6d3401 /engines/xeen
parenta613f4ff2209675e134e90c8ea66cfda47d6119f (diff)
downloadscummvm-rg350-0d73b1f5df1a96a6dc6fd09b09216fde94811265.tar.gz
scummvm-rg350-0d73b1f5df1a96a6dc6fd09b09216fde94811265.tar.bz2
scummvm-rg350-0d73b1f5df1a96a6dc6fd09b09216fde94811265.zip
XEEN: Fix loop limit when drawing monsters attacking
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/interface_scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/interface_scene.cpp b/engines/xeen/interface_scene.cpp
index e569b540f8..043ef2cbbe 100644
--- a/engines/xeen/interface_scene.cpp
+++ b/engines/xeen/interface_scene.cpp
@@ -570,7 +570,7 @@ void InterfaceScene::drawIndoorsScene() {
_indoorList[idx]._frame = -1;
if (combat._monstersAttacking) {
- for (int idx = 0; idx < 96; ++idx) {
+ for (int idx = 0; idx < 8; ++idx) {
if (_indoorList[79 + idx]._sprites != nullptr) {
_indoorList[79 + idx]._frame = 0;
} else if (_indoorList[111 + idx]._sprites != nullptr) {