diff options
Diffstat (limited to 'engines/kyra/screen.cpp')
| -rw-r--r-- | engines/kyra/screen.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 4bcde9a679..d7c603fe11 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -384,7 +384,7 @@ void Screen::fadePalette(const uint8 *palData, int delay, const UpdateFunctor *u  	getFadeParams(palData, delay, delayInc, diff);  	int delayAcc = 0; -	while (!_vm->quit()) { +	while (!_vm->shouldQuit()) {  		delayAcc += delayInc;  		int refreshed = fadePalStep(palData, diff); @@ -401,7 +401,7 @@ void Screen::fadePalette(const uint8 *palData, int delay, const UpdateFunctor *u  		delayAcc &= 0xFF;  	} -	if (_vm->quit()) { +	if (_vm->shouldQuit()) {  		setScreenPalette(palData);  		if (upFunc && upFunc->isValid())  			(*upFunc)(); @@ -750,7 +750,7 @@ void Screen::shuffleScreen(int sx, int sy, int w, int h, int srcPage, int dstPag  	int32 start, now;  	int wait; -	for (y = 0; y < h && !_vm->quit(); ++y) { +	for (y = 0; y < h && !_vm->shouldQuit(); ++y) {  		start = (int32)_system->getMillis();  		int y_cur = y;  		for (x = 0; x < w; ++x) { @@ -775,7 +775,7 @@ void Screen::shuffleScreen(int sx, int sy, int w, int h, int srcPage, int dstPag  	copyOverlayRegion(sx, sy, sx, sy, w, h, srcPage, dstPage); -	if (_vm->quit()) { +	if (_vm->shouldQuit()) {  		copyRegion(sx, sy, sx, sy, w, h, srcPage, dstPage);  		_system->updateScreen();  	} | 
