projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modernize code: very last fixes (#6290)
[oweals/minetest.git]
/
src
/
mg_decoration.cpp
diff --git
a/src/mg_decoration.cpp
b/src/mg_decoration.cpp
index 4e53e037f5d3f3505251fbeffdf375f32b565d41..db640626d5d01c74dd788bf3b45132547058d24c 100644
(file)
--- a/
src/mg_decoration.cpp
+++ b/
src/mg_decoration.cpp
@@
-286,7
+286,7
@@
void DecoSimple::resolveNodeNames()
size_t DecoSimple::generate(MMVManip *vm, PcgRandom *pr, v3s16 p)
{
// Don't bother if there aren't any decorations to place
- if (c_decos.
size() == 0
)
+ if (c_decos.
empty()
)
return 0;
if (!canPlaceDecoration(vm, p))