diff --git a/src/lua_playerlib.c b/src/lua_playerlib.c index b3bda2520..68e3e7891 100644 --- a/src/lua_playerlib.c +++ b/src/lua_playerlib.c @@ -636,7 +636,6 @@ static int power_get(lua_State *L) // powers, p, value -> powers[p] = value static int power_set(lua_State *L) { - UINT16 *powers = *((UINT16 **)luaL_checkudata(L, 1, META_POWERS)); powertype_t p = luaL_checkinteger(L, 2); UINT16 i = (UINT16)luaL_checkinteger(L, 3);