diff options
Diffstat (limited to 'src/particleemitterprop.h')
-rw-r--r-- | src/particleemitterprop.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/particleemitterprop.h b/src/particleemitterprop.h index 354cb0229..e9f3661d1 100644 --- a/src/particleemitterprop.h +++ b/src/particleemitterprop.h @@ -23,6 +23,8 @@ #include <cmath> #include <cstdlib> +#include "localconsts.h" + /** * Returns a random numeric value that is larger than or equal min and smaller * than max @@ -37,7 +39,7 @@ enum ChangeFunc FUNC_SQUARE }; -template <typename T> struct ParticleEmitterProp +template <typename T> struct ParticleEmitterProp final { ParticleEmitterProp(): minVal(0), maxVal(0), changeFunc(FUNC_NONE), |