aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stacks/bspit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven_stacks/bspit.cpp')
-rw-r--r--engines/mohawk/riven_stacks/bspit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mohawk/riven_stacks/bspit.cpp b/engines/mohawk/riven_stacks/bspit.cpp
index 51d3656761..b1ba5abd7b 100644
--- a/engines/mohawk/riven_stacks/bspit.cpp
+++ b/engines/mohawk/riven_stacks/bspit.cpp
@@ -126,7 +126,7 @@ void BSpit::xblabbooknextpage(const ArgumentArray &args) {
// Keep turning pages while the mouse is pressed
bool firstPageTurn = true;
- while ((mouseIsDown() || firstPageTurn) && !_vm->shouldQuit()) {
+ while ((mouseIsDown() || firstPageTurn) && !_vm->hasGameEnded()) {
// Check for the last page
if (page == 22)
return;
@@ -313,7 +313,7 @@ void BSpit::xbait(const ArgumentArray &args) {
_vm->_cursor->setCursor(kRivenPelletCursor);
// Loop until the player lets go (or quits)
- while (mouseIsDown() && !_vm->shouldQuit()) {
+ while (mouseIsDown() && !_vm->hasGameEnded()) {
_vm->doFrame();
}
@@ -369,7 +369,7 @@ void BSpit::xbaitplate(const ArgumentArray &args) {
_vm->getCard()->drawPicture(3);
// Loop until the player lets go (or quits)
- while (mouseIsDown() && !_vm->shouldQuit()) {
+ while (mouseIsDown() && !_vm->hasGameEnded()) {
_vm->doFrame();
}
@@ -485,7 +485,7 @@ void BSpit::xbchipper(const ArgumentArray &args) {
Common::Point startPos = getMouseDragStartPosition();
bool pulledLever = false;
- while (mouseIsDown() && !_vm->shouldQuit()) {
+ while (mouseIsDown() && !_vm->hasGameEnded()) {
Common::Point pos = getMousePosition();
if (pos.y > startPos.y) {
pulledLever = true;