diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-10 23:20:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-10 23:37:18 +0300 |
commit | b38844700debb737dad4090774ad0426a0ebcc02 (patch) | |
tree | 83a0cfbda2e8a1ef8ac9854469e77d8774779981 /src/particleemitterprop.h | |
parent | 1c423d3301cc1a04c11a8605822699e13d473a8a (diff) | |
download | manaplus-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.h | 3 |
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; |