mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 01:01:45 +00:00
Switch num and flags so flags is optional
This commit is contained in:
parent
cb5e433a49
commit
7483a9d049
1 changed files with 3 additions and 3 deletions
|
@ -798,15 +798,15 @@ static int libd_drawLevelActNum(lua_State *L)
|
|||
{
|
||||
INT32 x;
|
||||
INT32 y;
|
||||
INT32 flags;
|
||||
UINT8 num;
|
||||
INT32 flags;
|
||||
|
||||
HUDONLY
|
||||
|
||||
x = luaL_checkinteger(L, 1);
|
||||
y = luaL_checkinteger(L, 2);
|
||||
flags = luaL_optinteger(L, 3, 0);
|
||||
num = luaL_checkinteger(L, 4);
|
||||
num = luaL_checkinteger(L, 3);
|
||||
flags = luaL_optinteger(L, 4, 0);
|
||||
|
||||
flags &= ~V_PARAMMASK; // Don't let crashes happen.
|
||||
|
||||
|
|
Loading…
Reference in a new issue