Skip to content
Snippets Groups Projects
Commit 7483a9d0 authored by Radicalicious's avatar Radicalicious
Browse files

Switch num and flags so flags is optional

parent cb5e433a
Branches
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment