mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed CID 1197487
This commit is contained in:
parent
384c5827ae
commit
b908c70468
@ -141,6 +141,7 @@ SDL_Color multiplyColors (const SDL_Color &b, const SDL_Color &a, double f)
|
||||
ret.r = a.r*f + b.r*(1-f);
|
||||
ret.g = a.g*f + b.g*(1-f);
|
||||
ret.b = a.b*f + b.b*(1-f);
|
||||
ret.a = a.a*f + b.b*(1-f);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user