[Scummvm-cvs-logs] scummvm master -> c049ab0ef0a31a64c518d2faa34092d5ca44bdd5
Kirben
kirben at optusnet.com.au
Tue Mar 4 10:09:14 CET 2014
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:
c049ab0ef0 AGOS: Fix quitting during Oracle text scroll in The Feeble Files.
Commit: c049ab0ef0a31a64c518d2faa34092d5ca44bdd5
https://github.com/scummvm/scummvm/commit/c049ab0ef0a31a64c518d2faa34092d5ca44bdd5
Author: Kirben (kirben at optusnet.com.au)
Date: 2014-03-04T01:08:40-08:00
Commit Message:
AGOS: Fix quitting during Oracle text scroll in The Feeble Files.
Changed paths:
engines/agos/oracle.cpp
diff --git a/engines/agos/oracle.cpp b/engines/agos/oracle.cpp
index 782c834..122f800 100644
--- a/engines/agos/oracle.cpp
+++ b/engines/agos/oracle.cpp
@@ -180,7 +180,7 @@ void AGOSEngine_Feeble::oracleTextUp() {
if (_textWindow->scrollY > _oracleMaxScrollY) // For scroll up
_oracleMaxScrollY = _textWindow->scrollY;
- while (1) {
+ while (!shouldQuit()) {
if (_textWindow->scrollY == _oracleMaxScrollY)
break;
_textWindow->textRow = 105;
@@ -214,7 +214,7 @@ void AGOSEngine_Feeble::oracleTextDown() {
if (_textWindow->scrollY > _oracleMaxScrollY) // For scroll up
_oracleMaxScrollY = _textWindow->scrollY;
- while (1) {
+ while (!shouldQuit()) {
if (_textWindow->scrollY == 0)
break;
More information about the Scummvm-git-logs
mailing list