mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Are these casts unnecessary...??
This commit is contained in:
parent
95a01de67d
commit
83b8c53afa
1 changed files with 2 additions and 2 deletions
|
|
@ -1043,7 +1043,7 @@ static int lib_pSetObjectMomZ(lua_State *L)
|
||||||
static int lib_pPlayJingle(lua_State *L)
|
static int lib_pPlayJingle(lua_State *L)
|
||||||
{
|
{
|
||||||
player_t *player = NULL;
|
player_t *player = NULL;
|
||||||
jingletype_t jingletype = (jingletype_t)luaL_checkinteger(L, 2);
|
jingletype_t jingletype = luaL_checkinteger(L, 2);
|
||||||
//NOHUD
|
//NOHUD
|
||||||
//INLEVEL
|
//INLEVEL
|
||||||
if (!lua_isnone(L, 1) && lua_isuserdata(L, 1))
|
if (!lua_isnone(L, 1) && lua_isuserdata(L, 1))
|
||||||
|
|
@ -1065,7 +1065,7 @@ static int lib_pPlayJingleMusic(lua_State *L)
|
||||||
char musname[7], *p = musname;
|
char musname[7], *p = musname;
|
||||||
UINT16 musflags = luaL_optinteger(L, 3, 0);
|
UINT16 musflags = luaL_optinteger(L, 3, 0);
|
||||||
boolean looping = lua_opttrueboolean(L, 4);
|
boolean looping = lua_opttrueboolean(L, 4);
|
||||||
jingletype_t jingletype = (jingletype_t)luaL_optinteger(L, 5, JT_OTHER);
|
jingletype_t jingletype = luaL_optinteger(L, 5, JT_OTHER);
|
||||||
//NOHUD
|
//NOHUD
|
||||||
//INLEVEL
|
//INLEVEL
|
||||||
if (!lua_isnone(L, 1) && lua_isuserdata(L, 1))
|
if (!lua_isnone(L, 1) && lua_isuserdata(L, 1))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue