Fix units fading in or out affecting other units of the same type

This commit is contained in:
Steve Cotton 2019-07-22 21:58:37 +02:00 committed by Charles Dang
parent 358f564301
commit a4893a8990

View file

@ -1551,6 +1551,7 @@ void display::render_image(int x, int y, const display::drawing_layer drawing_la
//} else if(alpha != 1.0 && blendto != 0) {
// surf.assign(blend_surface(surf,1.0-alpha,blendto));
} else if(alpha != ftofxp(1.0)) {
surf = surf.clone();
adjust_surface_alpha(surf, alpha);
}