Skip to content

Commit

Permalink
- fixed compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Apr 7, 2020
1 parent 01bb549 commit 3c3ea28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/duke3d/src/screens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1708,9 +1708,9 @@ static void G_BonusCutscenes(void)
if (!WORLDTOUR)
return;

if (ud.lockout == 0)
if (adult_lockout == 0)
{
S_StopMusic();
Mus_Stop();
totalclocklock = totalclock = 0;

videoClearScreen(0L);
Expand All @@ -1719,13 +1719,13 @@ static void G_BonusCutscenes(void)

fadepal(0, 0, 0, 252, 0, -4);

I_ClearAllInput();
inputState.ClearAllInput();

S_PlaySound(E5L7_DUKE_QUIT_YOU);

do
{
if (engineFPSLimit())
if (G_FPSLimit())
{
totalclocklock = totalclock;

Expand All @@ -1736,13 +1736,13 @@ static void G_BonusCutscenes(void)

gameHandleEvents();

if (I_GeneralTrigger()) break;
if (inputState.CheckAllInput()) break;
} while (1);

fadepal(0, 0, 0, 0, 252, 4);
}

S_StopMusic();
Mus_Stop();
FX_StopAllSounds();
S_ClearSoundLocks();
break;
Expand Down

0 comments on commit 3c3ea28

Please sign in to comment.