mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Are these casts unnecessary...??
This commit is contained in:
parent
647f73c8f2
commit
520e3c5dc3
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)
|
||||
{
|
||||
player_t *player = NULL;
|
||||
jingletype_t jingletype = (jingletype_t)luaL_checkinteger(L, 2);
|
||||
jingletype_t jingletype = luaL_checkinteger(L, 2);
|
||||
//NOHUD
|
||||
//INLEVEL
|
||||
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;
|
||||
UINT16 musflags = luaL_optinteger(L, 3, 0);
|
||||
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
|
||||
//INLEVEL
|
||||
if (!lua_isnone(L, 1) && lua_isuserdata(L, 1))
|
||||
|
|
Loading…
Reference in a new issue