mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 10:49:48 +02:00
re-enable some hitpoint tracking for crc checks
This commit is contained in:
@@ -2306,7 +2306,8 @@ bool ParticleManager::hasActiveParticleSystem(ParticleSystem::ParticleSystemType
|
||||
//currentParticleCount+= ps->getAliveParticleCount();
|
||||
|
||||
bool showParticle= true;
|
||||
if(dynamic_cast<UnitParticleSystem *> (ps) != NULL || dynamic_cast<FireParticleSystem *> (ps) != NULL){
|
||||
if(dynamic_cast<UnitParticleSystem *> (ps) != NULL ||
|
||||
dynamic_cast<FireParticleSystem *> (ps) != NULL) {
|
||||
showParticle= ps->getVisible() || (ps->getState() == ParticleSystem::sFade);
|
||||
}
|
||||
if(showParticle == true){
|
||||
|
Reference in New Issue
Block a user