aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/xeen/spells.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/xeen/spells.cpp b/engines/xeen/spells.cpp
index 7ebe9ad019..de55dd6802 100644
--- a/engines/xeen/spells.cpp
+++ b/engines/xeen/spells.cpp
@@ -432,6 +432,7 @@ void Spells::detectMonster() {
Interface &intf = *_vm->_interface;
Map &map = *_vm->_map;
Party &party = *_vm->_party;
+ Resources &res = *_vm->_resources;
Sound &sound = *_vm->_sound;
Windows &windows = *_vm->_windows;
Window &w = windows[19];
@@ -455,23 +456,22 @@ void Spells::detectMonster() {
if (++gridEntry > 3)
gridEntry = 3;
- sprites.draw(w, gridEntry, Common::Point(xDiff * 9 + 244,
- yDiff * 7 + 81));
+ sprites.draw(w, gridEntry, Common::Point(271 + xDiff * 9, 102 - yDiff * 7));
}
}
}
}
- sprites.draw(w, party._mazeDirection + 1, Common::Point(270, 101));
+ res._globalSprites.draw(w, party._mazeDirection + 1, Common::Point(270, 101));
sound.playFX(20);
w.update();
- do {
+ while (!g_vm->shouldExit() && !events.isKeyMousePressed()) {
events.updateGameCounter();
intf.draw3d(true);
events.wait(1, false);
- } while (!events.isKeyMousePressed());
+ }
w.close();
}