diff options
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r-- | engines/gob/inter_v2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index b245001653..2f1d2ec0be 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -24,7 +24,6 @@ */ #include "common/endian.h" - #include "sound/mixer.h" #include "sound/mods/infogrames.h" @@ -1490,7 +1489,7 @@ void Inter_v2::o2_scroll() { curX = startX; curY = startY; - while (!_vm->quit() && ((curX != endX) || (curY != endY))) { + while (!_vm->_quitRequested && ((curX != endX) || (curY != endY))) { curX = stepX > 0 ? MIN(curX + stepX, (int) endX) : MAX(curX + stepX, (int) endX); curY = stepY > 0 ? MIN(curY + stepY, (int) endY) : |