r1432 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Jul 21 18:16:57 EDT 2008
Author: tma
Date: 2008-07-21 18:16:57 -0400 (Mon, 21 Jul 2008)
New Revision: 1432
Modified:
trunk/code/qcommon/common.c
Log:
* Sign check com_maxfps* variables
Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c 2008-07-21 22:02:54 UTC (rev 1431)
+++ trunk/code/qcommon/common.c 2008-07-21 22:16:57 UTC (rev 1432)
@@ -2849,11 +2849,11 @@
// 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;
More information about the quake3-commits
mailing list