mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-25 13:11:54 +00:00
Fix clang build error (hopefully)
This commit is contained in:
parent
543004b5b6
commit
17e7aea311
1 changed files with 2 additions and 0 deletions
|
@ -739,6 +739,7 @@ static int mobj_set(lua_State *L)
|
|||
break;
|
||||
}
|
||||
case mobj_alpha:
|
||||
{
|
||||
INT32 alpha = (INT32)luaL_checkinteger(L, 3);
|
||||
if (alpha < 0)
|
||||
alpha = 0;
|
||||
|
@ -746,6 +747,7 @@ static int mobj_set(lua_State *L)
|
|||
alpha = FRACUNIT;
|
||||
mo->alpha = alpha;
|
||||
break;
|
||||
}
|
||||
case mobj_bnext:
|
||||
return NOSETPOS;
|
||||
case mobj_bprev:
|
||||
|
|
Loading…
Reference in a new issue