mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-10 03:17:17 +00:00
Removes Unattach from emitter
We don't really need that proxy. As the main idea is to move the ownership from a model to the particle manager.
This commit is contained in:
@@ -61,6 +61,7 @@ CParticleEmitterTypePtr CParticleManager::LoadEmitterType(const VfsPath& path)
|
||||
|
||||
void CParticleManager::AddUnattachedEmitter(const CParticleEmitterPtr& emitter)
|
||||
{
|
||||
emitter->m_Active = false;
|
||||
m_UnattachedEmitters.push_back(emitter);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user