ACCESS: Move setupGame before doIntroduction to fix a crash

This commit is contained in:
Strangerke 2014-11-18 00:36:39 +01:00 committed by Paul Gilbert
parent f70012a115
commit a0294b6338

View File

@ -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();