l_mapgen.cpp: Fix LINT broken since b1b40fe

This commit is contained in:
SmallJoker 2019-05-21 19:16:01 +02:00
parent 12e3d3d12f
commit cfef466d4e

@ -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 // If no cave liquids defined, set list to "ignore" to trigger old hardcoded
// cave liquid behaviour. // cave liquid behaviour.
if (nnames == 0) { if (nnames == 0) {
nn.push_back("ignore"); nn.emplace_back("ignore");
nnames = 1; nnames = 1;
} }
b->m_nnlistsizes.push_back(nnames); b->m_nnlistsizes.push_back(nnames);