Also check for com_pause when USE_DOOMCLASSIC

oops, somehow forgot this one
This commit is contained in:
Daniel Gibson 2013-01-05 16:42:24 +01:00
parent dac9539764
commit 155e5e589e

View file

@ -490,7 +490,7 @@ void idCommonLocal::Frame()
// DG: Add pause from com_pause cvar // DG: Add pause from com_pause cvar
// RB begin // RB begin
#if defined(USE_DOOMCLASSIC) #if defined(USE_DOOMCLASSIC)
if( console->Active() || Dialog().IsDialogActive() || session->IsSystemUIShowing() if( com_pause.GetInteger() || console->Active() || Dialog().IsDialogActive() || session->IsSystemUIShowing()
|| ( game && game->InhibitControls() && !IsPlayingDoomClassic() ) ) || ( game && game->InhibitControls() && !IsPlayingDoomClassic() ) )
#else #else
if( com_pause.GetInteger() || console->Active() || Dialog().IsDialogActive() || session->IsSystemUIShowing() if( com_pause.GetInteger() || console->Active() || Dialog().IsDialogActive() || session->IsSystemUIShowing()