fix Block.rt and ItemDef.rt initialization
This commit is contained in:
parent
e6d4688f03
commit
0f26bbadfd
@ -41,7 +41,7 @@ struct ItemDef {
|
|||||||
item_funcs_set funcsset {};
|
item_funcs_set funcsset {};
|
||||||
blockid_t placingBlock;
|
blockid_t placingBlock;
|
||||||
bool emissive = false;
|
bool emissive = false;
|
||||||
} rt;
|
} rt {};
|
||||||
|
|
||||||
ItemDef(const std::string& name);
|
ItemDef(const std::string& name);
|
||||||
ItemDef(const ItemDef&) = delete;
|
ItemDef(const ItemDef&) = delete;
|
||||||
|
|||||||
@ -195,7 +195,7 @@ public:
|
|||||||
|
|
||||||
/// @brief picking item integer id
|
/// @brief picking item integer id
|
||||||
itemid_t pickingItem = 0;
|
itemid_t pickingItem = 0;
|
||||||
} rt;
|
} rt {};
|
||||||
|
|
||||||
Block(const std::string& name);
|
Block(const std::string& name);
|
||||||
Block(std::string name, const std::string& texture);
|
Block(std::string name, const std::string& texture);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user