mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 03:47:32 +00:00
SAGA2: Make ending playable
This commit is contained in:
parent
e83fed6c60
commit
c5322b246a
@ -74,10 +74,8 @@ static void TroModeSetup(void);
|
||||
static void TroModeCleanup(void);
|
||||
|
||||
static bool abortFlag = false;
|
||||
#ifndef NO_LOAD_AFTER_WIN
|
||||
//DO_OUTRO_IN_CLEANUP
|
||||
static int whichOutro = -1;
|
||||
#endif
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Play intro video
|
||||
@ -104,19 +102,8 @@ void setOutroMode(void) {
|
||||
extern GameWorld *currentWorld; // pointer to the current world
|
||||
|
||||
void setWintroMode(int16 whichOne) {
|
||||
#ifdef NO_LOAD_AFTER_WIN
|
||||
if (!abortFlag) {
|
||||
freeAllTileBanks();
|
||||
currentWorld = NULL;
|
||||
TroModeSetup();
|
||||
doWintro(whichOne);
|
||||
TroModeCleanup();
|
||||
}
|
||||
endGame();
|
||||
#else
|
||||
whichOutro = whichOne;
|
||||
allPlayerActorsDead = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
@ -127,6 +114,7 @@ void fadeUp();
|
||||
void dumpGBASE(char *msg);
|
||||
|
||||
void setLostroMode(void) {
|
||||
abortFlag = false;
|
||||
allPlayerActorsDead = false;
|
||||
if (GameMode::newmodeFlag)
|
||||
GameMode::update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user