summaryrefslogtreecommitdiff
path: root/src/luaconsole.c
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2011-08-16 16:43:50 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2011-08-16 16:43:50 (GMT)
commita5db1d53da133a78493be443b0ec9094ea3eeb65 (patch)
tree97a93d5fd9e12219657c6b2ece7d1137146843c0 /src/luaconsole.c
parented392c9724878fc39fe5cbba2f882dacf7278979 (diff)
downloadpowder-a5db1d53da133a78493be443b0ec9094ea3eeb65.zip
powder-a5db1d53da133a78493be443b0ec9094ea3eeb65.tar.gz
Revert "added lua command: tpt.setfpscap(int FPSCap)"
This reverts commit aa56eca5c01359732f7331d2a572ce31d7ff3c23.
Diffstat (limited to 'src/luaconsole.c')
-rw-r--r--src/luaconsole.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/luaconsole.c b/src/luaconsole.c
index 186764d..78b633d 100644
--- a/src/luaconsole.c
+++ b/src/luaconsole.c
@@ -55,7 +55,6 @@ void luacon_open(){
{"heat", &luatpt_heat},
{"setfire", &luatpt_setfire},
{"setdebug", &luatpt_setdebug},
- {"setfpscap",&luatpt_setfpscap},
{NULL,NULL}
};
@@ -1056,10 +1055,4 @@ int luatpt_setdebug(lua_State* l)
debug_flags = debug;
return 0;
}
-int luatpt_setfpscap(lua_State* l)
-{
-int fpscap = luaL_optint(l, 1, 0);
-limitFPS = fpscap;
-return 0;
-}
#endif