mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 05:41:02 +00:00
Remove hudlib getDeltaTime
This commit is contained in:
parent
de0d5d09e0
commit
507211b94e
1 changed files with 0 additions and 9 deletions
|
@ -885,14 +885,6 @@ static int libd_getlocaltransflag(lua_State *L)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the time elapsed for the previous frame, in tics.
|
|
||||||
static int libd_getDeltaTime(lua_State *L)
|
|
||||||
{
|
|
||||||
HUDONLY
|
|
||||||
lua_pushfixed(L, renderdeltatics);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static luaL_Reg lib_draw[] = {
|
static luaL_Reg lib_draw[] = {
|
||||||
{"patchExists", libd_patchExists},
|
{"patchExists", libd_patchExists},
|
||||||
{"cachePatch", libd_cachePatch},
|
{"cachePatch", libd_cachePatch},
|
||||||
|
@ -914,7 +906,6 @@ static luaL_Reg lib_draw[] = {
|
||||||
{"renderer", libd_renderer},
|
{"renderer", libd_renderer},
|
||||||
{"localTransFlag", libd_getlocaltransflag},
|
{"localTransFlag", libd_getlocaltransflag},
|
||||||
{"drawOnMinimap", libd_drawOnMinimap},
|
{"drawOnMinimap", libd_drawOnMinimap},
|
||||||
{"getDeltaTime", libd_getDeltaTime},
|
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue