BGE: The blenderplayer usage docs mentioned "enable all frames" was "fixedtime,"...
authorMitchell Stokes <mogurijin@gmail.com>
Sun, 25 Nov 2012 07:42:41 +0000 (07:42 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Sun, 25 Nov 2012 07:42:41 +0000 (07:42 +0000)
source/gameengine/GamePlayer/ghost/GPG_Application.cpp

index 40b52c3212a36ad383c92650f28f06bf45ab773b..92db1fe790e8ac9c4c2cc46fa59a63b57c21151a 100644 (file)
@@ -555,7 +555,7 @@ bool GPG_Application::initEngine(GHOST_IWindow* window, const int stereoMode)
                bool showPhysics = (gm->flag & GAME_SHOW_PHYSICS);
                SYS_WriteCommandLineInt(syshandle, "show_physics", showPhysics);
 
-               bool fixed_framerate= (SYS_GetCommandLineInt(syshandle, "fixed_framerate", fixedFr) != 0);
+               bool fixed_framerate= (SYS_GetCommandLineInt(syshandle, "fixedtime", fixedFr) != 0);
                bool frameRate = (SYS_GetCommandLineInt(syshandle, "show_framerate", 0) != 0);
                bool useLists = (SYS_GetCommandLineInt(syshandle, "displaylists", gm->flag & GAME_DISPLAY_LISTS) != 0);
                bool nodepwarnings = (SYS_GetCommandLineInt(syshandle, "ignore_deprecation_warnings", 1) != 0);