summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-09-30 03:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2019-09-30 03:30:11 +0300
commitbf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch)
tree46018d5b85c669961fb2fe6ab8af06f432139999 /src/particle
parentfdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff)
downloadmanaverse-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz
manaverse-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2
manaverse-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz
manaverse-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip
Add missing static keywords
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particleemitter.h2
-rw-r--r--src/particle/particleengine.cpp2
-rw-r--r--src/particle/particleengine.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/particle/particleemitter.h b/src/particle/particleemitter.h
index 72e033506..822ce1dcf 100644
--- a/src/particle/particleemitter.h
+++ b/src/particle/particleemitter.h
@@ -88,7 +88,7 @@ class ParticleEmitter final
template <typename T> static ParticleEmitterProp<T>
readParticleEmitterProp(XmlNodePtrConst propertyNode, T def);
- ImageSet *getImageSet(XmlNodePtrConst node);
+ static ImageSet *getImageSet(XmlNodePtrConst node);
/**
* initial position of particles:
diff --git a/src/particle/particleengine.cpp b/src/particle/particleengine.cpp
index 1ee24f33d..628e43b6a 100644
--- a/src/particle/particleengine.cpp
+++ b/src/particle/particleengine.cpp
@@ -64,7 +64,7 @@ ParticleEngine::~ParticleEngine()
ParticleEngine::particleCount--;
}
-void ParticleEngine::setupEngine() restrict2
+void ParticleEngine::setupEngine()
{
ParticleEngine::maxCount = config.getIntValue("particleMaxCount");
ParticleEngine::fastPhysics = fromInt(config.getIntValue(
diff --git a/src/particle/particleengine.h b/src/particle/particleengine.h
index a0315d481..5020a5ffa 100644
--- a/src/particle/particleengine.h
+++ b/src/particle/particleengine.h
@@ -73,7 +73,7 @@ class ParticleEngine final
* Gives a particle the properties of an engine root particle and loads
* the particle-related config settings.
*/
- void setupEngine() restrict2;
+ static void setupEngine();
/**
* Updates particle position, returns false when the particle should