1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix some warnings and other minor details

This commit is contained in:
kwolekr 2013-09-16 23:52:42 -04:00
parent 9bccd75e34
commit c0398224ef
4 changed files with 6 additions and 6 deletions

View file

@ -484,7 +484,7 @@ int ModApiMapgen::l_create_schematic(lua_State *L)
v3s16 pos = read_v3s16(L, -1);
lua_pop(L, 1);
u8 prob = getintfield_default(L, -1, "prob", 0xFF);
u8 prob = getintfield_default(L, -1, "prob", MTSCHEM_PROB_ALWAYS);
probability_list.push_back(std::make_pair(pos, prob));
}