mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 15:09:03 +02:00
- bugfix for particles showing when fog of war on but they shouldn't show
This commit is contained in:
@@ -1571,7 +1571,7 @@ void Renderer::renderUnits(const int renderFps, const int worldFrameCount) {
|
|||||||
vctEntity.push_back(RenderEntity(retUnit,NULL,Vec2i(),unit,world->getFaction(i)->getTexture()));
|
vctEntity.push_back(RenderEntity(retUnit,NULL,Vec2i(),unit,world->getFaction(i)->getTexture()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(unit->getVisible() == true){
|
else {
|
||||||
unit->setVisible(false);
|
unit->setVisible(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user