浏览代码

Fixed CID 1197487

AlexVinS 9 年之前
父节点
当前提交
b908c70468
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/windows/CCastleInterface.cpp

+ 1 - 0
client/windows/CCastleInterface.cpp

@@ -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;
 }