projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12e3d3d
)
l_mapgen.cpp: Fix LINT broken since b1b40fe
author
SmallJoker
<mk939@ymail.com>
Tue, 21 May 2019 17:16:01 +0000
(19:16 +0200)
committer
SmallJoker
<mk939@ymail.com>
Tue, 21 May 2019 17:16:01 +0000
(19:16 +0200)
src/script/lua_api/l_mapgen.cpp
patch
|
blob
|
history
diff --git
a/src/script/lua_api/l_mapgen.cpp
b/src/script/lua_api/l_mapgen.cpp
index cb1dc1fffbdf680de9960c31b80eb1fae561a61b..e7e002c160fc439e374929403cbf5aa927fa122b 100644
(file)
--- a/
src/script/lua_api/l_mapgen.cpp
+++ b/
src/script/lua_api/l_mapgen.cpp
@@
-410,7
+410,7
@@
Biome *read_biome_def(lua_State *L, int index, const NodeDefManager *ndef)
// If no cave liquids defined, set list to "ignore" to trigger old hardcoded
// cave liquid behaviour.
if (nnames == 0) {
- nn.
push
_back("ignore");
+ nn.
emplace
_back("ignore");
nnames = 1;
}
b->m_nnlistsizes.push_back(nnames);