mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 07:39:08 +00:00
NEVERHOOD: Allow skipping of the introductory credits with the space key
This commit is contained in:
parent
7ea0386307
commit
1dde17b0ee
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user