Skip to content

Commit

Permalink
XEEN: Fix loop limit when drawing monsters attacking
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Mar 25, 2018
1 parent a613f4f commit 0d73b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/interface_scene.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 0d73b1f

Please sign in to comment.