diff --git a/src/graphics/render/Emitter.cpp b/src/graphics/render/Emitter.cpp index 76b2f0185..ff8413d52 100644 --- a/src/graphics/render/Emitter.cpp +++ b/src/graphics/render/Emitter.cpp @@ -23,7 +23,7 @@ Emitter::Emitter( texture(texture), count(count), preset(std::move(preset)) { - random.setSeed(rand()); + random.setSeed(reinterpret_cast(this)); this->prototype.emitter = this; timer = preset.spawnInterval * random.randFloat(); }