mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 16:31:03 +00:00
correct sidenum_get to use UINT32 instead of UINT16
This commit is contained in:
parent
06b5c9d5f4
commit
1284ec6494
1 changed files with 1 additions and 1 deletions
|
@ -1195,7 +1195,7 @@ static int line_num(lua_State *L)
|
|||
|
||||
static int sidenum_get(lua_State *L)
|
||||
{
|
||||
UINT16 *sidenum = *((UINT16 **)luaL_checkudata(L, 1, META_SIDENUM));
|
||||
UINT32 *sidenum = *((UINT32 **)luaL_checkudata(L, 1, META_SIDENUM));
|
||||
int i;
|
||||
lua_settop(L, 2);
|
||||
if (!lua_isnumber(L, 2))
|
||||
|
|
Loading…
Reference in a new issue