parent
11be390110
commit
163c38e175
|
@ -1456,6 +1456,8 @@ public:
|
||||||
i.getNode()->getValue());
|
i.getNode()->getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return *this;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings & operator=(Settings &other)
|
Settings & operator=(Settings &other)
|
||||||
|
|
|
@ -453,12 +453,14 @@ public:
|
||||||
if(m_area.contains(p) == false)
|
if(m_area.contains(p) == false)
|
||||||
return false;
|
return false;
|
||||||
m_data[m_area.index(p)] = n;
|
m_data[m_area.index(p)] = n;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
bool setNodeNoEmerge(s32 i, MapNode n)
|
bool setNodeNoEmerge(s32 i, MapNode n)
|
||||||
{
|
{
|
||||||
if(m_area.contains(i) == false)
|
if(m_area.contains(i) == false)
|
||||||
return false;
|
return false;
|
||||||
m_data[i] = n;
|
m_data[i] = n;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
/*bool setContentNoEmerge(v3s16 p, u8 c)
|
/*bool setContentNoEmerge(v3s16 p, u8 c)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue