mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 06:00:48 +00:00
HDB: Added demo-specific start code
This commit is contained in:
parent
ac90e5541e
commit
da5f1fa265
@ -171,8 +171,14 @@ void HDBGame::changeGameState() {
|
||||
_ai->clearPersistent();
|
||||
_timePlayed = 0;
|
||||
_timeSeconds = 0;
|
||||
if (!startMap("CINE_INTRO"))
|
||||
error("Can't load CINE_INTRO");
|
||||
|
||||
if (!isDemo()) {
|
||||
if (!startMap("CINE_INTRO"))
|
||||
error("Can't load CINE_INTRO");
|
||||
} else {
|
||||
if (!startMap("CINE_INTRO_DEMO"))
|
||||
error("Can't load CINE_INTRO_DEMO");
|
||||
}
|
||||
_gameState = GAME_PLAY;
|
||||
break;
|
||||
case GAME_PLAY:
|
||||
|
Loading…
x
Reference in New Issue
Block a user