minor cleanup to Max_Fps_f() cvar callback.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1505 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2017-09-17 11:02:46 +00:00
parent daf5ebec2f
commit e7648a42c9

View file

@ -105,7 +105,7 @@ Max_Fps_f -- ericw
*/
static void Max_Fps_f (cvar_t *var)
{
if (host_maxfps.value > 72)
if (var->value > 72)
Con_Warning ("host_maxfps above 72 breaks physics.\n");
}