diff options
author | Filippos Karapetis | 2013-12-20 01:58:41 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-12-20 02:10:35 +0200 |
commit | 1dde17b0eed87ca7f09f9a2fdd02d2624a4caf9f (patch) | |
tree | 2b3d2edbb55b289daef00ee3781cd78b9032abeb | |
parent | 7ea0386307828af4f4866261eb28b7faad0a6489 (diff) | |
download | scummvm-rg350-1dde17b0eed87ca7f09f9a2fdd02d2624a4caf9f.tar.gz scummvm-rg350-1dde17b0eed87ca7f09f9a2fdd02d2624a4caf9f.tar.bz2 scummvm-rg350-1dde17b0eed87ca7f09f9a2fdd02d2624a4caf9f.zip |
NEVERHOOD: Allow skipping of the introductory credits with the space key
-rw-r--r-- | engines/neverhood/modules/module1500.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/modules/module1500.cpp b/engines/neverhood/modules/module1500.cpp index 3ce9783b69..ec3b67a6c5 100644 --- a/engines/neverhood/modules/module1500.cpp +++ b/engines/neverhood/modules/module1500.cpp @@ -102,11 +102,11 @@ void Scene1501::update() { Scene::update(); if (_countdown1 != 0) { _countdown1--; - if (_countdown1 == 0) { + if (_countdown1 == 0 || _skip) { _vm->_screen->clear(); leaveScene(0); } - } else if ((_countdown2 != 0 && (--_countdown2 == 0)) || (_countdown2 == 0 && !isSoundPlaying(0))) { + } else if ((_countdown2 != 0 && (--_countdown2 == 0)) || (_countdown2 == 0 && !isSoundPlaying(0)) || _skip) { _countdown1 = 12; _palette->startFadeToBlack(11); } |