projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tuned lava/universal damage code
[oweals/minetest.git]
/
src
/
voxel.h
diff --git
a/src/voxel.h
b/src/voxel.h
index 6d1a318f1e9b9f505d1a849d150806664cc67b14..51df18299af620401c58f09e6a466ef32c278e99 100644
(file)
--- a/
src/voxel.h
+++ b/
src/voxel.h
@@
-453,12
+453,14
@@
public:
if(m_area.contains(p) == false)
return false;
m_data[m_area.index(p)] = n;
if(m_area.contains(p) == false)
return false;
m_data[m_area.index(p)] = n;
+ return true;
}
bool setNodeNoEmerge(s32 i, MapNode n)
{
if(m_area.contains(i) == false)
return false;
m_data[i] = n;
}
bool setNodeNoEmerge(s32 i, MapNode n)
{
if(m_area.contains(i) == false)
return false;
m_data[i] = n;
+ return true;
}
/*bool setContentNoEmerge(v3s16 p, u8 c)
{
}
/*bool setContentNoEmerge(v3s16 p, u8 c)
{