mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-20 19:02:34 +00:00
Remove unused variable
That's a surprise tool that will help us later.
This commit is contained in:
parent
2968b348b9
commit
cd3bca3487
1 changed files with 0 additions and 3 deletions
|
@ -682,11 +682,8 @@ static int framelist_num(lua_State *L)
|
|||
static int sprinfoframe_get(lua_State *L)
|
||||
{
|
||||
struct SpriteInfoFrame *container = luaL_checkudata(L, 1, META_SPRITEINFOFRAME);
|
||||
spriteinfoframe_t *frame = &container->sprinfo->frames[container->frame];
|
||||
const char *field = luaL_checkstring(L, 2);
|
||||
|
||||
I_Assert(frame != NULL);
|
||||
|
||||
if (fastcmp("pivot", field))
|
||||
{
|
||||
struct SpriteInfoFrame *other_container = lua_newuserdata(L, sizeof *container);
|
||||
|
|
Loading…
Reference in a new issue