[Scummvm-cvs-logs] scummvm master -> d39367410082a763b18faf868aad9dddd8e72ca5

Strangerke Strangerke at scummvm.org
Sun Dec 27 15:30:55 CET 2015


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:
d393674100 LAB: Allow to skip more efficiently the intro while the 2nd screen is displayed


Commit: d39367410082a763b18faf868aad9dddd8e72ca5
    https://github.com/scummvm/scummvm/commit/d39367410082a763b18faf868aad9dddd8e72ca5
Author: Strangerke (strangerke at scummvm.org)
Date: 2015-12-27T15:23:51+01:00

Commit Message:
LAB: Allow to skip more efficiently the intro while the 2nd screen is displayed

Changed paths:
    engines/lab/intro.cpp



diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp
index 46a20a5..f258acc 100644
--- a/engines/lab/intro.cpp
+++ b/engines/lab/intro.cpp
@@ -236,8 +236,8 @@ void Intro::play() {
 		nReadPict("EA3");
 	} else if (_vm->getPlatform() == Common::kPlatformWindows) {
 		nReadPict("WYRMKEEP");
-		// Wait 4 seconds
-		for (int i = 0; i < 4 * 1000 / 10; i++) {
+		// Wait 4 seconds (400 x 10ms)
+		for (int i = 0; i < 400; i++) {
 			introEatMessages();
 			if (_quitIntro)
 				break;
@@ -271,6 +271,7 @@ void Intro::play() {
 		_vm->_graphics->fade(true);
 
 	for (int times = 0; times < 150; times++) {
+		introEatMessages();
 		if (_quitIntro)
 			break;
 






More information about the Scummvm-git-logs mailing list