I don't even know how this happened

This commit is contained in:
Steel Titanium 2019-08-24 18:27:07 -04:00
parent 9f7613ef6d
commit 08808e2200

View file

@ -634,7 +634,8 @@ static int power_get(lua_State *L)
}
// powers, p, value -> powers[p] = value
static int power_set(lua_State *L){
static int power_set(lua_State *L)
{
UINT16 *powers = *((UINT16 **)luaL_checkudata(L, 1, META_POWERS));
powertype_t p = luaL_checkinteger(L, 2);