[Scummvm-git-logs] scummvm master -> 0d73b1f5df1a96a6dc6fd09b09216fde94811265
dreammaster
dreammaster at scummvm.org
Sun Mar 25 06:10:39 CEST 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:
0d73b1f5df XEEN: Fix loop limit when drawing monsters attacking
Commit: 0d73b1f5df1a96a6dc6fd09b09216fde94811265
https://github.com/scummvm/scummvm/commit/0d73b1f5df1a96a6dc6fd09b09216fde94811265
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-03-25T00:10:35-04:00
Commit Message:
XEEN: Fix loop limit when drawing monsters attacking
Changed paths:
engines/xeen/interface_scene.cpp
diff --git a/engines/xeen/interface_scene.cpp b/engines/xeen/interface_scene.cpp
index e569b54..043ef2c 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) {
More information about the Scummvm-git-logs
mailing list