mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Revert "fix: optimization: Various PVS-Studio warnings"
This commit is contained in:
parent
a7ef7bb365
commit
ba046a52c0
90 changed files with 259 additions and 274 deletions
|
|
@ -8,7 +8,8 @@
|
|||
Inventories::Inventories(Level& level) : level(level) {
|
||||
}
|
||||
|
||||
Inventories::~Inventories() = default;
|
||||
Inventories::~Inventories() {
|
||||
}
|
||||
|
||||
std::shared_ptr<Inventory> Inventories::create(size_t size) {
|
||||
int64_t id = level.getWorld()->getNextInventoryId();
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@ struct ItemDef {
|
|||
|
||||
struct {
|
||||
itemid_t id;
|
||||
blockid_t placingBlock;
|
||||
item_funcs_set funcsset {};
|
||||
blockid_t placingBlock;
|
||||
bool emissive = false;
|
||||
} rt {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue