1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)

Reverts 5dab742645
"[CSM] Add functions to create particles and particlespawners."
This commit is contained in:
Paramat 2019-02-26 04:26:25 +00:00 committed by GitHub
parent d80186d857
commit 01cd63bd3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 8 additions and 337 deletions

View file

@ -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);