Skip to content

Commit

Permalink
Fix units fading in or out affecting other units of the same type
Browse files Browse the repository at this point in the history
  • Loading branch information
stevecotton authored and Vultraz committed Jul 22, 2019
1 parent 358f564 commit a4893a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/display.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit a4893a8

Please sign in to comment.