- fixed Ramses text display.

Fixes #265.
This commit is contained in:
Christoph Oelckers 2020-08-26 22:22:46 +02:00
parent 1a25504d02
commit b4df1fd662
2 changed files with 7 additions and 5 deletions

View file

@ -147,7 +147,7 @@ void InitSpiritHead()
nTrack = 7; nTrack = 7;
} }
bSubTitles = playCDtrack(nTrack, false) == 0; playCDtrack(nTrack, false);
StartSwirlies(); StartSwirlies();

View file

@ -434,22 +434,24 @@ void DrawView(double smoothRatio, bool sceneonly)
{ {
subtitleOverlay.Start(gameclock); subtitleOverlay.Start(gameclock);
if (currentLevel->levelNumber == 1) if (currentLevel->levelNumber == 1)
subtitleOverlay.ReadyCinemaText(1); subtitleOverlay.ReadyCinemaText(0);
else else
subtitleOverlay.ReadyCinemaText(5); subtitleOverlay.ReadyCinemaText(4);
} }
inputState.ClearAllInput();
} }
else if (nHeadStage == 6) else if (nHeadStage == 5)
{ {
if ((bSubTitles && !subtitleOverlay.AdvanceCinemaText(gameclock)) || inputState.CheckAllInput()) if ((bSubTitles && !subtitleOverlay.AdvanceCinemaText(gameclock)) || inputState.CheckAllInput())
{ {
inputState.ClearAllInput(); inputState.ClearAllInput();
EndLevel = 2; EndLevel = 2;
if (CDplaying()) { if (CDplaying()) {
fadecdaudio(); fadecdaudio();
} }
} }
else subtitleOverlay.DisplayText();
} }
} }
} }