mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix nearly all warnings
This commit is contained in:
parent
55a97f4605
commit
d00e8bd31a
15 changed files with 13 additions and 30 deletions
|
@ -147,7 +147,7 @@ v3s16 check_v3s16(lua_State *L, int index)
|
|||
|
||||
video::SColor readARGB8(lua_State *L, int index)
|
||||
{
|
||||
video::SColor color;
|
||||
video::SColor color(0);
|
||||
luaL_checktype(L, index, LUA_TTABLE);
|
||||
lua_getfield(L, index, "a");
|
||||
if(lua_isnumber(L, -1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue