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:
parent
9bccd75e34
commit
c0398224ef
4 changed files with 6 additions and 6 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue