Remove unused variable

That's a surprise tool that will help us later.
This commit is contained in:
Lactozilla 2025-01-30 15:26:13 -03:00
parent 2968b348b9
commit cd3bca3487

View file

@ -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);