Merge pull request #21 from DanielGibson/quickfix-pause

Also check for com_pause when USE_DOOMCLASSIC
This commit is contained in:
RobertBeckebans 2013-01-07 02:11:08 -08:00
commit 44cc05651c

View file

@ -490,7 +490,7 @@ void idCommonLocal::Frame()
// DG: Add pause from com_pause cvar
// RB begin
#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() ) )
#else
if( com_pause.GetInteger() || console->Active() || Dialog().IsDialogActive() || session->IsSystemUIShowing()