mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
Rename drawerlib deltaTime to getDeltaTime
This commit is contained in:
parent
82310e0ae2
commit
a41d042812
1 changed files with 2 additions and 2 deletions
|
@ -1309,7 +1309,7 @@ static int libd_getusertransflag(lua_State *L)
|
|||
}
|
||||
|
||||
// Return the time elapsed for the previous frame, in tics.
|
||||
static int libd_deltaTime(lua_State *L)
|
||||
static int libd_getDeltaTime(lua_State *L)
|
||||
{
|
||||
HUDONLY
|
||||
lua_pushfixed(L, renderdeltatics);
|
||||
|
@ -1357,7 +1357,7 @@ static luaL_Reg lib_draw[] = {
|
|||
{"renderer", libd_renderer},
|
||||
{"localTransFlag", libd_getlocaltransflag},
|
||||
{"userTransFlag", libd_getusertransflag},
|
||||
{"deltaTime", libd_deltaTime},
|
||||
{"getDeltaTime", libd_getDeltaTime},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue