min maxfps = 25
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6533 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -677,7 +677,7 @@ void resetgl()
|
||||
|
||||
COMMAND(resetgl, ARG_NONE);
|
||||
|
||||
VARP(maxfps, 0, 200, 1000);
|
||||
VARFP(maxfps, 0, 200, 1000, if(maxfps && maxfps < 25) maxfps = 25);
|
||||
|
||||
void limitfps(int &millis, int curmillis)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user