1
0
Fork 0
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:
kwolekr 2013-05-19 21:26:08 -04:00
parent 55a97f4605
commit d00e8bd31a
15 changed files with 13 additions and 30 deletions

View file

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