diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-25 12:55:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-25 12:55:31 +0300 |
commit | 5f97d3fd31bb5a17037610342ea09c21da9c47d3 (patch) | |
tree | ad32a4c8835c6b9273414e3b412c44e41270e708 /src/animationparticle.cpp | |
parent | da457cf152d5aff51d859c18d3668682348dbf7a (diff) | |
download | manaverse-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.gz manaverse-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.bz2 manaverse-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.xz manaverse-5f97d3fd31bb5a17037610342ea09c21da9c47d3.zip |
change vars and methods to const.
Diffstat (limited to 'src/animationparticle.cpp')
-rw-r--r-- | src/animationparticle.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/animationparticle.cpp b/src/animationparticle.cpp index c1bf251af..6943cab57 100644 --- a/src/animationparticle.cpp +++ b/src/animationparticle.cpp @@ -27,13 +27,15 @@ #include "debug.h" -AnimationParticle::AnimationParticle(Map *map, Animation *animation): +AnimationParticle::AnimationParticle(Map *const map, + Animation *const animation) : ImageParticle(map, nullptr), mAnimation(new SimpleAnimation(animation)) { } -AnimationParticle::AnimationParticle(Map *map, XmlNodePtr animationNode, +AnimationParticle::AnimationParticle(Map *const map, + XmlNodePtr const animationNode, const std::string& dyePalettes): ImageParticle(map, nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) |