value = flag & 1 << offset;. In C, if value is a boolean, then it would result in true if that bit was 1. this is not the case in Lua, but ...
確定! 回上一頁