summaryrefslogtreecommitdiff
path: root/src/particle/particleemitter.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-16 01:47:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-16 01:47:17 +0300
commitb293d99a34d21d137374e46386b8669907cb3c1d (patch)
tree7e5e20e2b81e239878c13229c4d02139e8b85c2b /src/particle/particleemitter.h
parent34f943198afd1f7f342d63bd70d30cdeacd3dbad (diff)
downloadManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.gz
ManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.bz2
ManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.xz
ManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.zip
add missing const in xmlnode pointers.
Diffstat (limited to 'src/particle/particleemitter.h')
-rw-r--r--src/particle/particleemitter.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/particle/particleemitter.h b/src/particle/particleemitter.h
index bf0e05ae5..9e149034f 100644
--- a/src/particle/particleemitter.h
+++ b/src/particle/particleemitter.h
@@ -43,8 +43,10 @@ class Particle;
class ParticleEmitter final
{
public:
- ParticleEmitter(const XmlNodePtr emitterNode, Particle *const target,
- Map *const map, const int rotation = 0,
+ ParticleEmitter(const XmlNodePtrConst emitterNode,
+ Particle *const target,
+ Map *const map,
+ const int rotation = 0,
const std::string& dyePalettes = std::string());
/**
@@ -82,9 +84,9 @@ class ParticleEmitter final
private:
template <typename T> ParticleEmitterProp<T>
- readParticleEmitterProp(XmlNodePtr propertyNode, T def);
+ readParticleEmitterProp(XmlNodePtrConst propertyNode, T def);
- ImageSet *getImageSet(XmlNodePtr node);
+ ImageSet *getImageSet(XmlNodePtrConst node);
/**
* initial position of particles: