summaryrefslogtreecommitdiff
path: root/src/particleemitterprop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particleemitterprop.h')
-rw-r--r--src/particleemitterprop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/particleemitterprop.h b/src/particleemitterprop.h
index aad16c99a..644c66ce3 100644
--- a/src/particleemitterprop.h
+++ b/src/particleemitterprop.h
@@ -58,7 +58,8 @@ template <typename T> struct ParticleEmitterProp final
set(val, val);
}
- void setFunction(ChangeFunc func, T amplitude, int period, int phase)
+ void setFunction(ChangeFunc func, T amplitude,
+ const int period, const int phase)
{
changeFunc = func;
changeAmplitude = amplitude;