mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-01 06:14:07 +00:00
ACCESS: Move setupGame before doIntroduction to fix a crash
This commit is contained in:
parent
f70012a115
commit
a0294b6338
@ -83,6 +83,9 @@ void AmazonEngine::playGame() {
|
||||
_room = new AmazonRoom(this);
|
||||
_scripts = new AmazonScripts(this);
|
||||
|
||||
// Setup the game
|
||||
setupGame();
|
||||
|
||||
if (_loadSaveSlot == -1) {
|
||||
// Do introduction
|
||||
doIntroduction();
|
||||
@ -90,9 +93,6 @@ void AmazonEngine::playGame() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Setup the game
|
||||
setupGame();
|
||||
|
||||
_screen->clearScreen();
|
||||
_screen->setPanel(0);
|
||||
_screen->forceFadeOut();
|
||||
|
Loading…
x
Reference in New Issue
Block a user