mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 15:33:23 +00:00
LASTEXPRESS: Do not try to show intro when loading a game
svn-id: r53882
This commit is contained in:
parent
d5e4ab6b20
commit
5688a393b4
@ -692,35 +692,37 @@ bool Menu::handleEvent(StartMenuAction action, Common::EventType type) {
|
||||
getSavePoints()->reset();
|
||||
setLogicEventHandlers();
|
||||
|
||||
getSound()->processEntry(SoundManager::kSoundType11);
|
||||
|
||||
if (!getFlags()->mouseRightClick) {
|
||||
getScenes()->loadScene((SceneIndex)(5 * _gameId + 3));
|
||||
|
||||
if (_index) {
|
||||
getSound()->processEntry(SoundManager::kSoundType11);
|
||||
} else {
|
||||
if (!getFlags()->mouseRightClick) {
|
||||
getScenes()->loadScene((SceneIndex)(5 * _gameId + 4));
|
||||
getScenes()->loadScene((SceneIndex)(5 * _gameId + 3));
|
||||
|
||||
if (!getFlags()->mouseRightClick) {
|
||||
getScenes()->loadScene((SceneIndex)(5 * _gameId + 5));
|
||||
getScenes()->loadScene((SceneIndex)(5 * _gameId + 4));
|
||||
|
||||
if (!getFlags()->mouseRightClick) {
|
||||
getSound()->processEntry(SoundManager::kSoundType11);
|
||||
getScenes()->loadScene((SceneIndex)(5 * _gameId + 5));
|
||||
|
||||
// Show intro
|
||||
Animation animation;
|
||||
if (animation.load(getArchive("1601.nis")))
|
||||
animation.play();
|
||||
if (!getFlags()->mouseRightClick) {
|
||||
getSound()->processEntry(SoundManager::kSoundType11);
|
||||
|
||||
getEvent(kEventIntro) = 1;
|
||||
// Show intro
|
||||
Animation animation;
|
||||
if (animation.load(getArchive("1601.nis")))
|
||||
animation.play();
|
||||
|
||||
getEvent(kEventIntro) = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!getEvent(kEventIntro)) {
|
||||
getEvent(kEventIntro) = 1;
|
||||
if (!getEvent(kEventIntro)) {
|
||||
getEvent(kEventIntro) = 1;
|
||||
|
||||
getSound()->processEntry(SoundManager::kSoundType11);
|
||||
getSound()->processEntry(SoundManager::kSoundType11);
|
||||
}
|
||||
}
|
||||
|
||||
// Setup game
|
||||
|
Loading…
x
Reference in New Issue
Block a user