mirror of
https://github.com/glest/glest-source.git
synced 2025-08-26 17:34:24 +02:00
bugfix for particle cleanup
This commit is contained in:
@@ -68,6 +68,7 @@ Object::~Object() {
|
||||
}
|
||||
unitParticleSystems.pop_back();
|
||||
}
|
||||
Renderer::getInstance().removeParticleSystemsForParticleOwner(this,rsGame);
|
||||
renderer.removeObjectFromQuadCache(this);
|
||||
if(stateCallback) {
|
||||
stateCallback->removingObjectEvent(this);
|
||||
|
Reference in New Issue
Block a user