mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 10:45:27 +02:00
CAO 'node' visual (#15683)
This commit is contained in:
@@ -145,7 +145,7 @@ struct alignas(u32) MapNode
|
||||
|
||||
MapNode() = default;
|
||||
|
||||
MapNode(content_t content, u8 a_param1=0, u8 a_param2=0) noexcept
|
||||
constexpr MapNode(content_t content, u8 a_param1=0, u8 a_param2=0) noexcept
|
||||
: param0(content),
|
||||
param1(a_param1),
|
||||
param2(a_param2)
|
||||
@@ -157,6 +157,10 @@ struct alignas(u32) MapNode
|
||||
&& param1 == other.param1
|
||||
&& param2 == other.param2);
|
||||
}
|
||||
bool operator!=(const MapNode &other) const noexcept
|
||||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
// To be used everywhere
|
||||
content_t getContent() const noexcept
|
||||
|
Reference in New Issue
Block a user