summaryrefslogtreecommitdiff
path: root/src/client/particles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/particles.h')
-rw-r--r--src/client/particles.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client/particles.h b/src/client/particles.h
index 3392e7e95..d1854ecbf 100644
--- a/src/client/particles.h
+++ b/src/client/particles.h
@@ -196,14 +196,6 @@ public:
void addNodeParticle(IGameDef *gamedef, LocalPlayer *player, v3s16 pos,
const MapNode &n, const ContentFeatures &f);
- u32 getSpawnerId() const
- {
- for (u32 id = 0;; ++id) { // look for unused particlespawner id
- if (m_particle_spawners.find(id) == m_particle_spawners.end())
- return id;
- }
- }
-
protected:
void addParticle(Particle* toadd);