mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Explicitly initialize value of particle parameter. Fixes #12621.
This commit is contained in:
@@ -91,7 +91,7 @@ namespace ParticleParamTypes
|
|||||||
using ValType = T;
|
using ValType = T;
|
||||||
using pickFactors = float[PN];
|
using pickFactors = float[PN];
|
||||||
|
|
||||||
T val;
|
T val = T();
|
||||||
using This = Parameter<T, PN>;
|
using This = Parameter<T, PN>;
|
||||||
|
|
||||||
Parameter() = default;
|
Parameter() = default;
|
||||||
|
Reference in New Issue
Block a user