mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
* Sign check com_maxfps* variables
This commit is contained in:
parent
0124371c01
commit
71f8a85e42
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue