fix: conditional jump or move depends on uninitialised value

This commit is contained in:
MihailRis
2024-10-18 07:56:18 +03:00
parent 552740b87b
commit 955e5257d5
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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);