mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
fix: conditional jump or move depends on uninitialised value
This commit is contained in:
parent
552740b87b
commit
955e5257d5
2 changed files with 5 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ class BlocksController {
|
|||
util::Clock blocksTickClock;
|
||||
util::Clock worldTickClock;
|
||||
uint padding;
|
||||
FastRandom random;
|
||||
FastRandom random {};
|
||||
std::vector<on_block_interaction> blockInteractionCallbacks;
|
||||
public:
|
||||
BlocksController(Level* level, uint padding);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue