- bugfix for particles showing when fog of war on but they shouldn't show

This commit is contained in:
Mark Vejvoda
2010-06-16 06:25:32 +00:00
parent c7c9e69567
commit 94c8a08d04

View File

@@ -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()));
}
}
else if(unit->getVisible() == true){
else {
unit->setVisible(false);
}
}