Fix units fading in or out affecting other units of the same type
This commit is contained in:
parent
358f564301
commit
a4893a8990
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue