diff options
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 52bc5f6..475d045 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -2849,11 +2849,11 @@ void Com_Frame( void ) { // we may want to spin here if things are going too fast if ( !com_dedicated->integer && !com_timedemo->integer ) { - if( com_minimized->integer && com_maxfpsMinimized->integer ) { + if( com_minimized->integer && com_maxfpsMinimized->integer > 0 ) { minMsec = 1000 / com_maxfpsMinimized->integer; - } else if( com_unfocused->integer && com_maxfpsUnfocused->integer ) { + } else if( com_unfocused->integer && com_maxfpsUnfocused->integer > 0 ) { minMsec = 1000 / com_maxfpsUnfocused->integer; - } else if( com_maxfps->integer ) { + } else if( com_maxfps->integer > 0 ) { minMsec = 1000 / com_maxfps->integer; } else { minMsec = 1; |