mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Explicitly initialize value of particle parameter. Fixes #12621.
This commit is contained in:
parent
a81259d19a
commit
644f145ff2
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ namespace ParticleParamTypes
|
|||
using ValType = T;
|
||||
using pickFactors = float[PN];
|
||||
|
||||
T val;
|
||||
T val = T();
|
||||
using This = Parameter<T, PN>;
|
||||
|
||||
Parameter() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue