mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Initialize noise ptr on creation (fixes crash if OreVein deleted before use)
This commit is contained in:
@@ -105,6 +105,7 @@ public:
|
||||
float random_factor;
|
||||
Noise *noise2;
|
||||
|
||||
OreVein();
|
||||
virtual ~OreVein();
|
||||
|
||||
virtual void generate(MMVManip *vm, int mapseed, u32 blockseed,
|
||||
|
Reference in New Issue
Block a user