mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
fix Block.rt and ItemDef.rt initialization
This commit is contained in:
parent
e6d4688f03
commit
0f26bbadfd
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue