projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LuaVoxelManip: Add option to allocate blank data
[oweals/minetest.git]
/
src
/
nodetimer.cpp
diff --git
a/src/nodetimer.cpp
b/src/nodetimer.cpp
index d4971c8734ecb2ec44b070e02199a952dfd8eabb..790b460760324f5e5b63abfbecbe7e0ea7d13ca6 100644
(file)
--- a/
src/nodetimer.cpp
+++ b/
src/nodetimer.cpp
@@
-47,7
+47,7
@@
void NodeTimerList::serialize(std::ostream &os, u8 map_format_version) const
{
if(map_format_version == 24){
// Version 0 is a placeholder for "nothing to see here; go away."
- if(m_data.
size() == 0
){
+ if(m_data.
empty()
){
writeU8(os, 0); // version
return;
}