summaryrefslogtreecommitdiff
path: root/src/particleemitterprop.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-10 23:20:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-10 23:37:18 +0300
commitb38844700debb737dad4090774ad0426a0ebcc02 (patch)
tree83a0cfbda2e8a1ef8ac9854469e77d8774779981 /src/particleemitterprop.h
parent1c423d3301cc1a04c11a8605822699e13d473a8a (diff)
downloadmanaplus-b38844700debb737dad4090774ad0426a0ebcc02.tar.gz
manaplus-b38844700debb737dad4090774ad0426a0ebcc02.tar.bz2
manaplus-b38844700debb737dad4090774ad0426a0ebcc02.tar.xz
manaplus-b38844700debb737dad4090774ad0426a0ebcc02.zip
Improve particle classes.
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;